Function at 0x547920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e3287
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x188]
mov edi, dword [esp + 0x18c]
xor ebx, ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x18], ebx
lea ebp, [ebx + 2]
cmp byte [esp + 0x194], bl
je 0x5479d3
push ebp
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d37
push 0x10
lea edx, [esp + 0x168]
push edx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d37
mov eax, dword [esp + 0x16c]
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x90], edx
mov dword [esp + 0x1c], eax
jmp 0x547a05
push 4
lea ecx, [esp + 0x168]
push ecx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d37
mov edx, dword [esp + 0x164]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x1c], 0xc
mov dword [esp + 0xa8], ebx
sete al
mov byte [esp + 0x17], al
mov dword [esp + 0x180], ebx
cmp al, bl
je 0x547a45
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
movsx ecx, word [esp + 0x40]
movsx eax, word [esp + 0x42]
jmp 0x547a6c
push 8
lea ecx, [esp + 0x168]
push ecx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
mov ecx, dword [esp + 0x164]
mov eax, dword [esp + 0x168]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
cmp byte [esp + 0x194], bl
jne 0x547a8f
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x98], eax
cmp ecx, 0x7fff
jle 0x547d62
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov ebp, 0x5fcf00
mov edi, 7
cmp al, bl
jne 0x547ae7
lea edx, [esp + 0xc0]
push ebp
push edx
call fcn.00423280
or dword [esp + 0x20], 1
push eax
push 1
mov byte [esp + 0x190], 1
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x547aeb
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x180], ebx
je 0x547b28
mov eax, dword [esp + 0xdc]
and dword [esp + 0x18], 0xfffffffe
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], 8
jb 0x547b28
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.DIB_Header:_Image_width___32767_pixels_for_file.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
xor eax, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x180], 4
call fcn.00425e70
cmp eax, ebx
je 0x547ba5
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x547bb5
lea edx, [esp + 0xc0]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x180], 5
call fcn.00420510
mov dword [esp + 0x30], eax
mov byte [esp + 0x180], 6
call fcn.00420510
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x180], 7
mov dword [esp + 0xe4], 1
mov dword [esp + 0xec], str....._srccommonimagbmp.cpp
mov dword [esp + 0xf4], str.wxBMPHandler::LoadDib
mov dword [esp + 0xf0], 0x41f
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x10c], eax
xor eax, eax
mov dword [esp + 0x110], ebx
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], ax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 8
call fcn.0041de00
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 7
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 4
call fcn.004020c0
mov edx, dword [esp + 0x84]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x7c], 8
jb 0x547ce5
mov eax, dword [esp + 0x68]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x60]
xor ecx, ecx
push edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x58], esi
jb 0x547d1c
mov eax, dword [esp + 0x44]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xdc]
xor ecx, ecx
push edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
mov byte [esp + 0x184], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], esi
jb 0x547d5b
mov eax, dword [esp + 0xc0]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x547ab4
cmp eax, 0x7fff
jle 0x547f09
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov edi, 7
cmp al, bl
jne 0x547db7
lea ecx, [esp + 0xc0]
push 0x5fcf00
push ecx
call fcn.00423280
or dword [esp + 0x20], ebp
push eax
push 1
mov byte [esp + 0x190], 9
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x547dbb
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x180], ebx
je 0x547dda
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0xc0]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.DIB_Header:_Image_height___32767_pixels_for_file.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x180], 0xc
call fcn.00425e70
cmp eax, ebx
je 0x547e57
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x547e67
lea edx, [esp + 0xc0]
push edx
call fcn.004292f0
add esp, 4
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x427
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0xd
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0xe
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0xd
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0xc
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x547d81
push ebp
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
push ebp
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
movzx esi, word [esp + 0x28]
lea eax, [esi - 1]
mov dword [esp + 0x9c], esi
cmp eax, 0x1f
ja case.0x547f52.2
movzx edx, byte [eax + 0x548d6c]
jmp dword [edx*4 + 0x548d64]
mov byte [esp + 0x34], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
cmp byte [esp + 0x17], bl
je 0x547f80
xor ebp, ebp
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebp
jmp 0x54825a
mov ebp, 0x10
push ebp
lea eax, [esp + 0x168]
push eax
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
mov eax, dword [esp + 0x164]
mov dword [esp + 0xa4], eax
cmp eax, 3
ja case.default.0x547fb4
jmp dword [eax*4 + 0x548d8c]
cmp esi, 4
jmp 0x547fd0
cmp esi, 8
jmp 0x547fd0
cmp esi, ebp
je case.0x547fb4.0
cmp esi, 0x20
je case.0x547fb4.0
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov edi, 7
lea ebx, [ebx]
cmp al, bl
jne 0x548026
lea ecx, [esp + 0xc0]
push 0x5fcf00
push ecx
call fcn.00423280
or dword [esp + 0x20], ebp
push eax
push 1
mov byte [esp + 0x190], 0x1b
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x54802a
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 0x10
mov dword [esp + 0x180], ebx
je 0x548049
and dword [esp + 0x18], 0xffffffef
lea ecx, [esp + 0xc0]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.DIB_Header:_Encoding_doesnt_match_bitdepth.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x18c], 0x1e
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x498
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x1f
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x20
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x1f
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x1e
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x547ff0
mov eax, 0x51eb851f
imul dword [esp + 0x170]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x51eb851f
imul dword [esp + 0x16c]
sar edx, 5
mov eax, edx
mov dword [esp + 0x30], ecx
shr eax, 0x1f
push 8
lea ecx, [esp + 0x168]
add eax, edx
push ecx
mov ecx, edi
mov dword [esp + 0x34], eax
mov byte [esp + 0x3c], 1
call fcn.004741d0
test al, al
je 0x548d2e
mov ebp, dword [esp + 0x164]
mov dword [esp + 0xa0], ebp
cmp ebp, ebx
jl 0x5488ac
cmp ebp, 0x100
jg 0x5488ac
cmp dword [esp + 0xa4], 3
mov ecx, 0x28
jne 0x548235
push 0x10
lea edx, [esp + 0x168]
push edx
mov ecx, edi
call fcn.004741d0
test al, al
je 0x548d2e
mov eax, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x170]
mov ecx, 0x38
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
cmp dword [esp + 0x1c], ecx
jle 0x54825a
mov eax, dword [esp + 0x1c]
sub eax, ecx
cdq
push 1
push edx
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
mov ecx, edi
call eax
and eax, edx
cmp eax, 0xffffffff
je 0x548d2e
mov eax, dword [esp + 0x1c]
add eax, 0xe
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp ebp, ebx
jne 0x54828f
cmp esi, 0x10
jge 0x548367
mov ebp, 1
mov ecx, esi
shl ebp, cl
mov dword [esp + 0xa0], ebp
cmp ebp, ebx
je 0x548367
xor ecx, ecx
cmp byte [esp + 0x17], bl
sete cl
lea esi, [ecx + 3]
mov dword [esp + 0x40], esi
imul esi, ebp
push esi
call fcn.0058229a
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
push esi
push ebp
mov ecx, edi
mov byte [esp + 0x188], 0x27
call fcn.004741d0
test al, al
jne 0x5482da
push ebp
call fcn.00585c9e
push ebx
call fcn.00585c9e
add esp, 8
jmp 0x548d37
mov eax, esi
cdq
add dword [esp + 0x20], eax
mov eax, esi
adc dword [esp + 0x24], edx
xor ecx, ecx
mov edx, 3
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058229a
add esp, 4
push eax
lea ecx, [esp + 0xac]
call fcn.005461f0
mov ecx, dword [esp + 0xa0]
cmp ecx, ebx
jle 0x54834f
mov eax, dword [esp + 0xa8]
lea esi, [ebp + 2]
mov ebp, ecx
mov ecx, dword [esp + 0x40]
inc eax
lea esp, [esp]
movzx edx, byte [esi - 2]
mov byte [eax + 1], dl
movzx edx, byte [esi - 1]
mov byte [eax], dl
movzx edx, byte [esi]
mov byte [eax - 1], dl
add eax, 3
add esi, ecx
dec ebp
jne 0x548330
mov ebp, dword [esp + 0x1c]
push ebp
mov byte [esp + 0x184], bl
call fcn.00585c9e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 4
mov esi, dword [esp + 0x90]
cmp edx, esi
jg 0x5483a4
mov ecx, dword [esp + 0x8c]
jl 0x54837f
cmp eax, ecx
jae 0x5483a4
mov ebp, dword [edi]
sub ecx, eax
mov eax, dword [ebp + 0x3c]
push 1
sbb esi, edx
push esi
push ecx
mov ecx, edi
call eax
and eax, edx
cmp eax, 0xffffffff
jne 0x5483a4
mov ecx, dword [esp + 0xa8]
push ecx
jmp 0x548d2f
mov edx, dword [esp + 0x190]
mov esi, dword [esp + 0xbc]
push edx
push edi
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.00546580
add esp, 0x10
test al, al
jne 0x54854d
cmp byte [esp + 0x190], bl
je 0x548397
mov edi, 7
jmp 0x5483e0
cmp al, bl
jne 0x548417
lea ecx, [esp + 0xc0]
push 0x5fcf00
push ecx
call fcn.00423280
or dword [esp + 0x20], 0x40
push eax
push 1
mov byte [esp + 0x190], 0x28
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x54841b
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 0x40
mov dword [esp + 0x180], ebx
je 0x54843a
and dword [esp + 0x18], 0xffffffbf
lea ecx, [esp + 0xc0]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548397
push str.Error_in_reading_image_DIB.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x18c], 0x2b
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x4ff
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x2c
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x2d
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x2c
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x2b
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x5483e0
cmp byte [esp + 0x194], bl
jne 0x5487ea
mov dword [esp + 0x150], ebx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], 1
mov dword [esp + 0x148], 2
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.wxImage.0
mov ecx, dword [esp + 0x190]
push ecx
push edi
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebp, 0x2f
mov byte [esp + 0x190], 0x2f
call fcn.00546580
add esp, 0x10
test al, al
jne 0x54879f
cmp byte [esp + 0x190], bl
je 0x548764
lea edi, [ebp - 0x28]
lea esp, [esp]
cmp al, bl
jne 0x54862a
lea ecx, [esp + 0xc0]
push 0x5fcf00
push ecx
call fcn.00423280
or dword [esp + 0x20], 0x80
push eax
push 1
mov byte [esp + 0x190], 0x30
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x54862e
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 0x80
mov dword [esp + 0x180], ebp
je 0x548650
and dword [esp + 0x18], 0xffffff7f
lea ecx, [esp + 0xc0]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548764
push str.ICO:_Error_in_reading_mask_DIB.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x18c], 0x33
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x514
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x34
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x35
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x34
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x33
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], 0x2f
call fcn.00405eb0
mov al, 1
jmp 0x5485f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0x2e
mov dword [esp + 0x20], vtable.wxObject.0
call fcn.00423980
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00585c9e
mov edx, dword [esp + 0xac]
push edx
call fcn.00585c9e
add esp, 8
jmp 0x548d37
push 0xff
push 0xff
push 0xff
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0053d140
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0x2e
mov dword [esp + 0x20], vtable.wxObject.0
call fcn.00423980
mov ecx, dword [esp + 0x150]
push ecx
mov byte [esp + 0x184], bl
call fcn.00585c9e
add esp, 4
cmp byte [esp + 0x34], bl
je 0x548895
push str.ResolutionUnit
lea ecx, [esp + 0xc4]
call fcn.00402c90
push 2
push eax
mov ecx, esi
mov byte [esp + 0x188], 0x36
call fcn.00538ac0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
push str.ResolutionX
lea ecx, [esp + 0xc4]
call fcn.00402c90
mov edx, dword [esp + 0x2c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x188], 0x37
call fcn.00538ac0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
push str.ResolutionY
lea ecx, [esp + 0xc4]
call fcn.00402c90
mov ecx, dword [esp + 0x30]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x188], 0x38
call fcn.00538ac0
lea ecx, [esp + 0xc0]
call fcn.00405eb0
mov edx, dword [esp + 0xa8]
push edx
call fcn.00585c9e
add esp, 4
mov al, 1
jmp 0x548d39
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov edi, 7
cmp al, bl
jne 0x5488f7
lea eax, [esp + 0xc0]
push 0x5fcf00
push eax
call fcn.00423280
or dword [esp + 0x20], 0x20
push eax
push 1
mov byte [esp + 0x190], 0x21
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x5488fb
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 0x20
mov dword [esp + 0x180], ebx
je 0x54891a
and dword [esp + 0x18], 0xffffffdf
lea ecx, [esp + 0xc0]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.BMP:_header_has_biClrUsed_d_when_biBitCount_d.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor edx, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x18c], 0x24
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x4a7
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x25
call fcn.0040e0e0
push esi
push ebp
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0x18c], 0x26
call fcn.00546550
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x25
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x24
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x5488c0
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov edi, 7
lea ebx, [ebx]
cmp al, bl
jne 0x548a77
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
or dword [esp + 0x20], 8
push eax
push 1
mov byte [esp + 0x190], 0x15
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x548a7b
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 8
mov dword [esp + 0x180], ebx
je 0x548a9a
and dword [esp + 0x18], 0xfffffff7
lea ecx, [esp + 0x13c]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.DIB_Header:_Unknown_encoding_in_file.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x18c], 0x18
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x48f
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x19
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x1a
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x19
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x18
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x548a40
cmp byte [esp + 0x190], bl
je 0x548d2e
xor al, al
mov edi, 7
cmp al, bl
jne 0x548bf8
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
or dword [esp + 0x20], 4
push eax
push 1
mov byte [esp + 0x190], 0xf
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x548bfc
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 4
mov dword [esp + 0x180], ebx
je 0x548c1b
and dword [esp + 0x18], 0xfffffffb
lea ecx, [esp + 0x13c]
call fcn.00405eb0
cmp byte [esp + 0x17], bl
je 0x548d2e
push str.DIB_Header:_Unknown_bitdepth_in_file.
lea ecx, [esp + 0xc4]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x18c], 0x12
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::LoadDib
push 0x445
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x13
call fcn.0040e0e0
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x14
call fcn.0041de00
push eax
push esi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 0x13
call fcn.0040e140
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x12
call fcn.004020c0
lea ecx, [esp + 0x44]
call fcn.00405eb0
lea ecx, [esp + 0x68]
call fcn.00405eb0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x180], bl
call fcn.00405eb0
mov al, 1
jmp 0x548bc1
push ebx
call fcn.00585c9e
add esp, 4
xor al, al
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00585b7b
add esp, 0x170
ret 0x10