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

Disassembly:
push 0xffffffffffffffff
push 0x5e3685
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x280]
mov eax, dword [esp + 0x284]
xor esi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], esi
cmp ebp, esi
je 0x54b554
mov ecx, ebp
call fcn.005346d0
test al, al
jne 0x549937
cmp byte [esp + 0x288], al
je 0x54b554
lea ebp, [esi + 7]
mov edi, edi
test al, al
jne 0x54961e
lea ecx, [esp + 0x13c]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov edi, eax
or dword [esp + 0x1c], 1
mov dword [esp + 0x278], esi
cmp dword [0x695aa8], esi
je 0x549603
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x549603
call fcn.004443b0
jmp 0x549608
mov al, byte [0x68a580]
test al, al
je 0x54961e
push edi
call fcn.00445fa0
add esp, 4
cmp eax, 1
jb 0x54961e
mov bl, 1
jmp 0x549620
xor bl, bl
test byte [esp + 0x1c], 1
mov dword [esp + 0x278], 0xffffffff
je 0x549661
mov edx, dword [esp + 0x158]
and dword [esp + 0x1c], 0xfffffffe
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], 8
jb 0x549661
mov eax, dword [esp + 0x13c]
push eax
call fcn.00584768
add esp, 4
test bl, bl
je 0x54b554
push str.BMP:_Couldnt_save_invalid_image.
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x278], 1
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], esi
mov word [esp + 0x84], cx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
xor edx, edx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], dx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov byte [esp + 0x278], 3
call fcn.00425e70
cmp eax, esi
je 0x549705
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x549715
lea edx, [esp + 0x13c]
push edx
call fcn.004292f0
add esp, 4
mov edi, eax
call fcn.00420510
mov dword [esp + 0x70], eax
mov byte [esp + 0x278], 4
call fcn.00420510
mov dword [esp + 0x74], eax
mov byte [esp + 0x278], 5
call fcn.00420510
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov byte [esp + 0x278], 6
mov dword [esp + 0x198], 1
mov dword [esp + 0x1a0], str....._srccommonimagbmp.cpp
mov dword [esp + 0x1a8], str.wxBMPHandler::SaveDib
mov dword [esp + 0x1a4], 0x60
mov dword [esp + 0x1ac], 0x5fcf00
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], esi
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x1c0], eax
xor eax, eax
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], esi
mov word [esp + 0x1c8], ax
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 7
call fcn.0041de00
push eax
lea ecx, [esp + 0x19c]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x1ec]
push edx
mov byte [esp + 0x284], 6
call fcn.005844d1
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x1dc], ebx
jb 0x549836
mov eax, dword [esp + 0x1c8]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x1c8], cx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], esi
mov edi, ecx
cmp ecx, esi
je 0x549869
call fcn.0040c030
push edi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 3
call fcn.004020c0
mov edx, dword [esp + 0xc4]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], ebx
jb 0x5498a3
mov eax, dword [esp + 0xa8]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xa0]
xor ecx, ecx
push edx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x98], ebx
jb 0x5498e4
mov eax, dword [esp + 0x84]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x158]
xor ecx, ecx
push edx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], esi
mov word [esp + 0x88], cx
mov dword [esp + 0x27c], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], ebx
jb 0x549930
mov eax, dword [esp + 0x13c]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x5495c0
cmp byte [esp + 0x28c], 0
jne 0x549951
mov ecx, ebp
call fcn.00534790
mov byte [esp + 0x17], 1
test eax, eax
jne 0x549956
mov byte [esp + 0x17], 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x140]
call fcn.00402c90
push eax
mov ecx, ebp
mov dword [esp + 0x27c], 8
mov dword [esp + 0x20], 2
call fcn.00534910
test al, al
je 0x549991
cmp byte [esp + 0x17], 0
jne 0x549991
mov bl, 1
jmp 0x549993
xor bl, bl
lea ecx, [esp + 0x13c]
mov dword [esp + 0x278], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.00405eb0
test bl, bl
je 0x549a29
push str.wxBMP_FORMAT
lea ecx, [esp + 0x140]
call fcn.00402c90
push eax
mov ecx, ebp
mov dword [esp + 0x27c], 9
call fcn.00538c70
mov edi, eax
lea ecx, [esp + 0x13c]
mov dword [esp + 0xcc], edi
mov dword [esp + 0x278], 0xffffffff
call fcn.00405eb0
cmp edi, 1
je 0x549c33
cmp edi, 2
je 0x549c33
cmp edi, 4
jne 0x549a15
lea ebx, [edi + 0xc]
jmp 0x549c3b
cmp edi, 8
je 0x549a4e
cmp edi, 9
je 0x549a4e
cmp edi, 0xa
je 0x549a4e
cmp edi, 0xb
je 0x549a57
xor ecx, ecx
cmp byte [esp + 0x17], cl
mov dword [esp + 0xcc], 0x18
setne cl
xor ebx, ebx
lea ecx, [ecx*8 + 0x18]
movzx edi, cx
jmp 0x549c3b
cmp edi, 0xb
jne 0x549c27
mov ecx, ebp
call fcn.005348b0
test al, al
jne 0x549c27
cmp byte [esp + 0x288], al
je 0x54b554
mov ebp, 7
mov bl, 0xe
lea ebx, [ebx]
test al, al
jne 0x549aba
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
or dword [esp + 0x24], 4
push eax
push 1
mov dword [esp + 0x288], 0xa
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x549abf
mov byte [esp + 0x17], 0
test byte [esp + 0x1c], 4
mov dword [esp + 0x278], 0xffffffff
je 0x549ae2
and dword [esp + 0x1c], 0xfffffffb
lea ecx, [esp + 0x13c]
call fcn.00405eb0
cmp byte [esp + 0x17], 0
je 0x54b554
push 0x6367a0
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x278], 0xb
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], ax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
xor ecx, ecx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], esi
mov word [esp + 0x84], cx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x144]
push ecx
mov byte [esp + 0x284], 0xd
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::SaveDib
push 0x88
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x28c], bl
call fcn.0040e0e0
mov edi, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0xf
call fcn.0041de00
push eax
push edi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0x198]
mov byte [esp + 0x278], bl
call fcn.0040e140
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0xd
call fcn.004020c0
lea ecx, [esp + 0x84]
call fcn.00405eb0
lea ecx, [esp + 0xa8]
call fcn.00405eb0
lea ecx, [esp + 0x13c]
mov dword [esp + 0x278], 0xffffffff
call fcn.00405eb0
mov al, 1
jmp 0x549a80
mov edi, 8
mov ebx, 0x100
jmp 0x549c3b
mov edi, 1
lea ebx, [edi + 1]
mov ecx, dword [esp + 0x24]
call fcn.00534e40
mov ecx, eax
movzx eax, di
imul eax, ecx
add eax, 7
mov dword [esp + 0x58], ecx
shr eax, 3
mov ecx, eax
neg ecx
and ecx, 3
lea ebp, [eax + ecx]
mov ecx, dword [esp + 0x24]
mov edx, 0x4d42
lea eax, [ebx*4]
mov dword [esp + 0xd0], ebp
mov word [esp + 0x160], dx
mov dword [esp + 0x48], eax
call fcn.00534e60
mov ecx, eax
mov eax, dword [esp + 0x48]
imul ecx, ebp
lea edx, [ecx + eax + 0x36]
mov ecx, dword [esp + 0x24]
add eax, 0x36
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], esi
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], 0x28
call fcn.00534e40
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x174], eax
call fcn.00534e60
cmp byte [esp + 0x28c], 0
jne 0x549cdd
add eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x178], eax
mov eax, 1
mov word [esp + 0x17c], ax
mov word [esp + 0x17e], di
mov dword [esp + 0x180], esi
call fcn.00534e60
imul eax, ebp
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.005390e0
add esp, 0xc
sub eax, esi
je 0x549d34
dec eax
je 0x549d41
dec eax
je 0x549d61
mov eax, 0x48
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
fld qword [0x636798]
fmul st(1), st(0)
fxch st(1)
call fcn.005895e0
fimul dword [esp + 0x5c]
mov edi, eax
call fcn.005895e0
jmp 0x549d69
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x6c]
imul edi, edi, 0x64
imul eax, eax, 0x64
cmp byte [esp + 0x28c], 0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x188], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], esi
je 0x54a140
push 2
lea ecx, [esp + 0x164]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x549dfd
push 4
lea edx, [esp + 0x168]
push edx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x549dfd
push 4
lea eax, [esp + 0x16c]
push eax
mov ecx, edi
call fcn.004742b0
test al, al
je 0x549dfd
push 4
lea ecx, [esp + 0x170]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
jne 0x54a140
cmp byte [esp + 0x288], 0
je 0x54b554
xor al, al
mov ebp, 7
test al, al
jne 0x549e74
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov edi, eax
or dword [esp + 0x1c], 8
mov dword [esp + 0x278], 0x10
cmp dword [0x695aa8], esi
je 0x549e59
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x549e59
call fcn.004443b0
jmp 0x549e5e
mov al, byte [0x68a580]
test al, al
je 0x549e74
push edi
call fcn.00445fa0
add esp, 4
cmp eax, 1
jb 0x549e74
mov bl, 1
jmp 0x549e76
xor bl, bl
test byte [esp + 0x1c], 8
mov dword [esp + 0x278], 0xffffffff
je 0x549eb7
mov eax, dword [esp + 0x158]
and dword [esp + 0x1c], 0xfffffff7
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], 8
jb 0x549eb7
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00584768
add esp, 4
test bl, bl
je 0x54b554
push str.BMP:_Couldnt_write_the_file__Bitmap__header.
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x278], 0x11
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], dx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
xor eax, eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], esi
mov word [esp + 0x84], ax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov byte [esp + 0x278], 0x13
call fcn.00425e70
cmp eax, esi
je 0x549f5b
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x144]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x549f6b
lea edx, [esp + 0x13c]
push edx
call fcn.004292f0
add esp, 4
mov edi, eax
call fcn.00420510
mov dword [esp + 0x70], eax
mov byte [esp + 0x278], 0x14
call fcn.00420510
mov dword [esp + 0x74], eax
mov byte [esp + 0x278], 0x15
call fcn.00420510
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov byte [esp + 0x278], 0x16
mov dword [esp + 0x198], 1
mov dword [esp + 0x1a0], str....._srccommonimagbmp.cpp
mov dword [esp + 0x1a8], str.wxBMPHandler::SaveDib
mov dword [esp + 0x1a4], 0xf2
mov dword [esp + 0x1ac], 0x5fcf00
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], esi
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x1c0], eax
xor eax, eax
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], esi
mov word [esp + 0x1c8], ax
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0x17
call fcn.0041de00
push eax
lea ecx, [esp + 0x19c]
push ecx
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0x198]
mov byte [esp + 0x278], 0x16
call fcn.0040e140
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0x13
call fcn.004020c0
mov edx, dword [esp + 0xa0]
push edx
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x98], edi
jb 0x54a0ac
mov eax, dword [esp + 0x84]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xc4]
xor ecx, ecx
push edx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], esi
mov word [esp + 0x88], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], edi
jb 0x54a0ed
mov eax, dword [esp + 0xa8]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x158]
xor ecx, ecx
push edx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], cx
mov dword [esp + 0x27c], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], edi
jb 0x54a139
mov eax, dword [esp + 0x13c]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x549e12
cmp byte [esp + 0x290], 0
jne 0x54a4fa
push 4
lea ecx, [esp + 0x174]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea edx, [esp + 0x178]
push edx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea eax, [esp + 0x17c]
push eax
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 2
lea ecx, [esp + 0x180]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 2
lea edx, [esp + 0x182]
push edx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea eax, [esp + 0x184]
push eax
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea ecx, [esp + 0x188]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea edx, [esp + 0x18c]
push edx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea ecx, [esp + 0x194]
push ecx
mov ecx, edi
call fcn.004742b0
test al, al
je 0x54a24d
push 4
lea edx, [esp + 0x198]
push edx
mov ecx, edi
call fcn.004742b0
test al, al
jne 0x54a4fa
cmp byte [esp + 0x288], 0
je 0x54b554
mov ebp, 8
xor al, al
lea edi, [ebp - 1]
test al, al
jne 0x54a29e
lea eax, [esp + 0x13c]
push 0x5fcf00
push eax
call fcn.00423280
or dword [esp + 0x24], 0x10
push eax
push 1
mov dword [esp + 0x288], 0x18
call fcn.00409f60
add esp, 0x10
test al, al
je 0x54a29e
mov bl, 1
jmp 0x54a2a0
xor bl, bl
test byte [esp + 0x1c], 0x10
mov dword [esp + 0x278], 0xffffffff
je 0x54a2e0
mov ecx, dword [esp + 0x158]
and dword [esp + 0x1c], 0xffffffef
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], ebp
jb 0x54a2e0
mov edx, dword [esp + 0x13c]
push edx
call fcn.00584768
add esp, 4
test bl, bl
je 0x54b554
push str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x278], 0x19
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], ax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
xor ecx, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov word [esp + 0x84], cx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov byte [esp + 0x278], 0x1b
call fcn.00425e70
cmp eax, esi
je 0x54a384
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x144]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x54a394
lea eax, [esp + 0x13c]
push eax
call fcn.004292f0
add esp, 4
mov edi, eax
call fcn.00420510
mov dword [esp + 0x70], eax
mov byte [esp + 0x278], 0x1c
call fcn.00420510
mov dword [esp + 0x74], eax
mov byte [esp + 0x278], 0x1d
call fcn.00420510
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
push 0x5fcf00
push str.wxBMPHandler::SaveDib
push 0x109
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x28c], 0x1e
call fcn.0040e0e0
mov edi, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0x1f
call fcn.0041de00
push eax
push edi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0x198]
mov byte [esp + 0x278], 0x1e
call fcn.0040e140
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 0x1b
call fcn.004020c0
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x98], ebp
jb 0x54a461
mov edx, dword [esp + 0x84]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xc4]
xor eax, eax
mov edi, 7
push ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], esi
mov word [esp + 0x88], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xbc], ebp
jb 0x54a4a7
mov edx, dword [esp + 0xa8]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x158]
xor eax, eax
push ecx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], ax
mov dword [esp + 0x27c], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], ebp
jb 0x54a4f3
mov edx, dword [esp + 0x13c]
push edx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x54a265
mov dword [esp + 0x28], esi
mov dword [esp + 0x278], 0x20
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov ebp, dword [esp + 0xcc]
mov byte [esp + 0x278], 0x22
cmp ebp, 1
je 0x54a592
cmp ebp, 4
je 0x54a592
cmp ebp, 8
je 0x54a592
cmp ebp, 0xb
je 0x54a5ed
cmp ebp, 9
je 0x54a54b
cmp ebp, 0xa
je 0x54a54b
cmp ebp, 2
jne 0x54a8c0
mov eax, dword [esp + 0x48]
push eax
call fcn.0058229a
add esp, 4
xor edx, edx
mov dword [esp + 0x54], eax
cmp ebx, esi
jle 0x54a587
inc eax
cmp edx, esi
jle 0x54a571
cmp ebp, 2
jne 0x54a571
or cl, 0xff
jmp 0x54a573
mov cl, dl
mov byte [eax + 1], cl
mov byte [eax], cl
mov byte [eax - 1], cl
mov byte [eax + 2], 0
inc edx
add eax, 4
cmp edx, ebx
jl 0x54a563
push esi
call fcn.00585c9e
jmp 0x54a6b1
cmp ebp, 0xb
je 0x54a5ed
push 8
call fcn.00584773
add esp, 4
cmp eax, esi
je 0x54a5b0
mov dword [eax + 4], esi
mov dword [eax], vtable.wxImage.0
jmp 0x54a5b2
xor eax, eax
push eax
lea ecx, [esp + 0x54]
call fcn.005461c0
mov eax, 0xec
cmp ebx, 0xec
jg 0x54a5cb
mov eax, ebx
mov edx, dword [esp + 0x50]
push 4
push esi
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
push ecx
push edx
push eax
call fcn.00572360
mov ecx, dword [esp + 0x78]
add esp, 0x18
push ecx
jmp 0x54a627
push 8
call fcn.00584773
mov edi, eax
add esp, 4
mov dword [esp + 0x68], edi
mov byte [esp + 0x278], 0x23
cmp edi, esi
je 0x54a61c
mov ecx, dword [esp + 0x24]
call fcn.005348e0
push eax
mov ecx, edi
call fcn.004ed340
jmp 0x54a61e
xor eax, eax
mov byte [esp + 0x278], 0x22
push eax
lea ecx, [esp + 0x2c]
call fcn.005461c0
mov edx, dword [esp + 0x48]
push edx
call fcn.0058229a
add esp, 4
xor ebp, ebp
mov byte [esp + 0x278], 0x24
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], eax
cmp ebx, esi
jle 0x54a69f
lea edi, [eax + 2]
lea eax, [esp + 0x3a]
push eax
lea ecx, [esp + 0x3f]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.004f1c20
test al, al
jne 0x54a67f
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x18], al
mov al, byte [esp + 0x3a]
mov byte [edi - 2], al
mov cl, byte [esp + 0x3b]
mov byte [edi - 1], cl
mov dl, byte [esp + 0x18]
mov byte [edi], dl
mov byte [edi + 1], 0
inc ebp
add edi, 4
cmp ebp, ebx
jl 0x54a656
push esi
mov byte [esp + 0x27c], 0x22
call fcn.00585c9e
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, esi
je 0x54a8ab
cmp byte [esp + 0x290], 0
jne 0x54a8ab
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ecx, edi
call fcn.004742b0
test al, al
jne 0x54a8ab
cmp byte [esp + 0x288], al
je 0x54b514
mov ebp, 7
test al, al
jne 0x54a72b
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
or dword [esp + 0x24], 0x20
push eax
push 1
mov byte [esp + 0x288], 0x25
call fcn.00409f60
add esp, 0x10
test al, al
je 0x54a72b
mov bl, 1
jmp 0x54a72d
xor bl, bl
test byte [esp + 0x1c], 0x20
mov dword [esp + 0x278], 0x22
je 0x54a750
and dword [esp + 0x1c], 0xffffffdf
lea ecx, [esp + 0x13c]
call fcn.00405eb0
test bl, bl
je 0x54b514
push 0x636710
lea ecx, [esp + 0x140]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], esi
mov word [esp + 0xd8], ax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
xor ecx, ecx
mov dword [esp + 0x204], ebp
mov dword [esp + 0x200], esi
mov word [esp + 0x1f0], cx
mov dword [esp + 0x20c], esi
mov dword [esp + 0x210], esi
mov byte [esp + 0x278], 0x28
call fcn.00425e70
cmp eax, esi
je 0x54a7e9
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x1f4]
push ecx
lea edx, [esp + 0x144]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x54a7f9
lea eax, [esp + 0x13c]
push eax
call fcn.004292f0
add esp, 4
push eax
lea ecx, [esp + 0x108]
call fcn.00406160
push 0x5fcf00
push str.wxBMPHandler::SaveDib
push 0x160
push str....._srccommonimagbmp.cpp
push 1
lea ecx, [esp + 0x228]
mov byte [esp + 0x28c], 0x29
call fcn.0040e0e0
mov edi, eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x278], 0x2a
call fcn.0041de00
push eax
push edi
call fcn.0040b680
add esp, 8
lea ecx, [esp + 0x214]
mov byte [esp + 0x278], 0x29
call fcn.0040e140
lea ecx, [esp + 0x104]
mov byte [esp + 0x278], 0x28
call fcn.004020c0
lea ecx, [esp + 0x1f0]
call fcn.00405eb0
lea ecx, [esp + 0xd8]
call fcn.00405eb0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x278], 0x22
call fcn.00405eb0
mov al, 1
jmp 0x54a6f5
mov edi, dword [esp + 0x50]
cmp edi, esi
je 0x54a8c0
mov ecx, edi
call fcn.005346d0
mov ecx, edi
test al, al
jne 0x54a8c4
mov ecx, dword [esp + 0x24]
call fcn.00534700
cmp byte [esp + 0x17], 0
mov edi, eax
je 0x54a8df
mov ecx, dword [esp + 0x24]
call fcn.00534790
mov ebp, eax
jmp 0x54a8e1
xor ebp, ebp
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0058229a
mov ebx, eax
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0xd4]
push edx
push esi
push ebx
mov byte [esp + 0x288], 0x2b
call fcn.00585730
mov ecx, dword [esp + 0x34]
xor eax, eax
add esp, 0x10
cmp byte [esp + 0x17], al
setne al
add eax, 3
mov dword [esp + 0xfc], eax
call fcn.00534e60
dec eax
mov dword [esp + 0x60], eax
js 0x54aae7
mov edx, dword [esp + 0x58]
imul eax, edx
mov ecx, edx
neg ecx
add ebp, eax
mov dword [esp + 0x100], ecx
lea ecx, [eax + eax*2]
lea eax, [edx*4]
sub eax, edx
neg eax
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], eax
mov ebp, edx
jmp 0x54a970
fld qword [0x6262b0]
mov eax, dword [esp + 0xcc]
fld qword [0x6262a8]
fld qword [0x6262a0]
fld qword [0x636708]
cmp eax, 0x18
jne 0x54aa04
fstp st(0)
xor esi, esi
fstp st(2)
fstp st(0)
fstp st(0)
test ebp, ebp
je 0x54aa9c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
lea edx, [edi + 1]
mov ebx, edi
sub ebx, edx
add ebx, 2
mov dword [esp + 0x18], ebx
mov ebx, edi
add eax, 2
add ecx, edx
sub ebx, edx
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx]
mov byte [eax - 2], dl
movzx edx, byte [ecx]
mov byte [eax - 1], dl
movzx edx, byte [ebx + ecx]
mov byte [eax], dl
je 0x54a9f0
mov edx, dword [esp + 0xd4]
mov dl, byte [edx + esi]
mov byte [eax + 1], dl
add eax, dword [esp + 0xfc]
inc esi
add ecx, 3
cmp esi, ebp
jb 0x54a9c5
jmp 0x54aa9c
cmp eax, 8
je 0x54b0b2
cmp eax, 0xb
je 0x54b0b2
cmp eax, 9
jne 0x54ab3c
xor edx, edx
fstp st(0)
test ebp, ebp
je 0x54aa96
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
add ecx, edi
mov esi, 1
movzx eax, byte [esi + ecx]
fnstcw word [esp + 0x18]
mov dword [esp + 0x20], eax
movzx eax, byte [ecx]
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, 2
movzx eax, byte [eax + ecx]
fmul st(3)
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x18]
fmul st(3)
faddp st(1)
or eax, 0xc00
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
inc edx
add ecx, 3
fmul st(2)
faddp st(1)
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov al, byte [esp + 0x20]
mov byte [edx + ebx - 1], al
fldcw word [esp + 0x18]
cmp edx, ebp
jb 0x54aa36
fstp st(2)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.004742b0
test al, al
je 0x54b113
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x68]
add dword [esp + 0xd4], edx
add dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x60], eax
test eax, eax
jns 0x54a970
mov ebx, dword [esp + 0x44]
xor esi, esi
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x28]
push ebx
call fcn.00585c9e
add esp, 4
mov byte [esp + 0x278], 0x21
cmp edi, esi
je 0x54ab0e
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00585c9e
add esp, 4
mov dword [esp + 0x278], 0xffffffff
cmp ebp, esi
je 0x54ab35
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov al, 1
jmp 0x54b556
fstp st(3)
fstp st(1)
fstp st(0)
cmp eax, 0xa
jne 0x54ab72
xor eax, eax
fstp st(0)
test ebp, ebp
je 0x54aa9c
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
add ecx, edi
lea ecx, [ecx]
mov dl, byte [ecx]
mov byte [eax + esi], dl
inc eax
add ecx, 3
cmp eax, ebp
jb 0x54ab60
jmp 0x54aa9c
cmp eax, 4
jne 0x54ac29
fstp st(0)
mov dword [esp + 0x4c], 0
test ebp, ebp
je 0x54aa9c
mov ebx, dword [esp + 0x24]
lea eax, [edi + 1]
mov ecx, edi
sub ecx, eax
add ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x4c]
inc edx
cmp edx, ebp
jb 0x54abba
mov dword [esp + 0x30], 0
jmp 0x54abdc
movzx eax, byte [edi + ebx + 5]
movzx ecx, byte [edi + ebx + 4]
movzx edx, byte [edi + ebx + 3]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004f1be0
movzx eax, al
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
lea eax, [edi + ebx + 1]
movzx edx, byte [ecx + eax]
movzx ecx, byte [eax]
push edx
mov edx, dword [esp + 0x4c]
movzx eax, byte [edx + eax]
push ecx
mov ecx, dword [esp + 0x30]
shr esi, 1
add esi, dword [esp + 0x4c]
push eax
call fcn.004f1be0
shl al, 4
or al, byte [esp + 0x30]
add ebx, 6
mov byte [esi], al
mov eax, dword [esp + 0x4c]
add eax, 2
mov dword [esp + 0x4c], eax
cmp eax, ebp
jb 0x54aba7
jmp 0x54aa9c
cmp eax, 1
jne 0x54ae40
fstp st(0)
test ebp, ebp
je 0x54aa9c
mov esi, dword [esp + 0x24]
lea eax, [edi + 1]
mov ecx, edi
sub ecx, eax
mov ebx, 2
add ecx, ebx
mov dword [esp + 0x18], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x48], ecx
lea ebx, [ebx]
lea edx, [ebx - 1]
cmp edx, ebp
jb 0x54ac71
mov dword [esp + 0x34], 0
jmp 0x54ac96
movzx eax, byte [edi + esi + 5]
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004f1be0
movzx eax, al
shl eax, 6
mov dword [esp + 0x34], eax
cmp ebx, ebp
jb 0x54aca4
mov dword [esp + 0x20], 0
jmp 0x54acc9
movzx eax, byte [edi + esi + 8]
movzx ecx, byte [edi + esi + 7]
movzx edx, byte [edi + esi + 6]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004f1be0
movzx eax, al
shl eax, 5
mov dword [esp + 0x20], eax
lea eax, [ebx + 1]
cmp eax, ebp
jb 0x54acda
mov dword [esp + 0x30], 0
jmp 0x54acff
movzx ecx, byte [edi + esi + 0xb]
movzx edx, byte [edi + esi + 0xa]
movzx eax, byte [edi + esi + 9]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.004f1be0
movzx eax, al
shl eax, 4
mov dword [esp + 0x30], eax
lea ecx, [ebx + 2]
cmp ecx, ebp
jb 0x54ad10
mov dword [esp + 0x4c], 0
jmp 0x54ad38
movzx edx, byte [edi + esi + 0xe]
movzx eax, byte [edi + esi + 0xd]
movzx ecx, byte [edi + esi + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004f1be0
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x4c], eax
lea edx, [ebx + 3]
cmp edx, ebp
jb 0x54ad49
mov dword [esp + 0x2c], 0
jmp 0x54ad6f
movzx eax, byte [edi + esi + 0x11]
movzx ecx, byte [edi + esi + 0x10]
movzx edx, byte [edi + esi + 0xf]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004f1be0
movzx eax, al
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
lea eax, [ebx + 4]
cmp eax, ebp
jb 0x54ad80
mov dword [esp + 0x40], 0
jmp 0x54ada4
movzx ecx, byte [edi + esi + 0x14]
movzx edx, byte [edi + esi + 0x13]
movzx eax, byte [edi + esi + 0x12]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.004f1be0
movzx eax, al
add eax, eax
mov dword [esp + 0x40], eax
lea ecx, [ebx + 5]
cmp ecx, ebp
jb 0x54adb5
mov dword [esp + 0x3c], 0
jmp 0x54add7
movzx edx, byte [edi + esi + 0x17]
movzx eax, byte [edi + esi + 0x16]
movzx ecx, byte [edi + esi + 0x15]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004f1be0
movzx edx, al
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x18]
lea eax, [esi + edi + 1]
movzx edx, byte [ecx + eax]
movzx ecx, byte [eax]
push edx
mov edx, dword [esp + 0x4c]
movzx eax, byte [edx + eax]
push ecx
mov ecx, dword [esp + 0x30]
lea ebp, [ebx - 2]
shr ebp, 3
add ebp, dword [esp + 0x4c]
push eax
call fcn.004f1be0
shl al, 7
or al, byte [esp + 0x30]
add ebx, 8
or al, byte [esp + 0x4c]
lea ecx, [ebx - 2]
or al, byte [esp + 0x2c]
add esi, 0x18
or al, byte [esp + 0x40]
or al, byte [esp + 0x3c]
or al, byte [esp + 0x34]
or al, byte [esp + 0x20]
mov byte [ebp], al
mov ebp, dword [esp + 0x58]
cmp ecx, ebp
jb 0x54ac60
jmp 0x54aa9c
cmp eax, 2
jne 0x54aa9a
test ebp, ebp
je 0x54aa9a
mov ecx, dword [esp + 0x24]
mov esi, eax
lea edx, [esi - 1]
cmp edx, ebp
jb 0x54ae64
xor edx, edx
xor ebx, ebx
jmp 0x54ae9d
movzx eax, byte [ecx + edi + 3]
fnstcw word [esp + 0x18]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x20], eax
fmul st(1)
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov dl, byte [esp + 0x20]
movzx ebx, dl
shl ebx, 6
fldcw word [esp + 0x18]
xor edx, edx
cmp esi, ebp
jb 0x54aea7
mov dword [esp + 0x20], edx
jmp 0x54aee2
movzx eax, byte [ecx + edi + 6]
fnstcw word [esp + 0x18]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x20], eax
fmul st(1)
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov al, byte [esp + 0x20]
movzx eax, al
shl eax, 5
fldcw word [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
cmp eax, ebp
jb 0x54aeef
mov dword [esp + 0x34], edx
jmp 0x54af2a
movzx eax, byte [ecx + edi + 9]
fnstcw word [esp + 0x18]
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x34], eax
fmul st(1)
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov al, byte [esp + 0x34]
movzx eax, al
shl eax, 4
fldcw word [esp + 0x18]
mov dword [esp + 0x34], eax
lea eax, [esi + 2]
cmp eax, ebp
jb 0x54af37
mov dword [esp + 0x3c], edx
jmp 0x54af75
movzx eax, byte [ecx + edi + 0xc]
fnstcw word [esp + 0x18]
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x3c]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fmul st(1)
fldcw word [esp + 0x3c]
fistp dword [esp + 0x3c]
mov al, byte [esp + 0x3c]
movzx eax, al
add eax, eax
fldcw word [esp + 0x18]
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
lea eax, [esi + 3]
cmp eax, ebp
jb 0x54af82
mov dword [esp + 0x40], edx
jmp 0x54afbe
movzx eax, byte [ecx + edi + 0xf]
fnstcw word [esp + 0x18]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x40]
or eax, 0xc00
mov dword [esp + 0x40], eax
fmul st(1)
fldcw word [esp + 0x40]
fistp dword [esp + 0x40]
mov al, byte [esp + 0x40]
movzx eax, al
add eax, eax
fldcw word [esp + 0x18]
add eax, eax
mov dword [esp + 0x40], eax
lea eax, [esi + 4]
cmp eax, ebp
jae 0x54affb
movzx edx, byte [ecx + edi + 0x12]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
mov dword [esp + 0x2c], edx
or eax, 0xc00
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
fmul st(1)
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov al, byte [esp + 0x2c]
movzx edx, al
add edx, edx
fldcw word [esp + 0x18]
lea eax, [esi + 5]
cmp eax, ebp
jb 0x54b00c
mov dword [esp + 0x2c], 0
jmp 0x54b044
movzx eax, byte [ecx + edi + 0x15]
fnstcw word [esp + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x2c]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fmul st(1)
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov al, byte [esp + 0x2c]
movzx eax, al
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x18]
movzx eax, byte [ecx + edi]
fnstcw word [esp + 0x18]
mov dword [esp + 0x30], eax
movzx eax, word [esp + 0x18]
fild dword [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x30], eax
fmul st(1)
add ecx, 0x18
fldcw word [esp + 0x30]
fistp dword [esp + 0x30]
mov al, byte [esp + 0x30]
shl al, 7
or al, bl
or al, byte [esp + 0x20]
fldcw word [esp + 0x18]
mov ebx, dword [esp + 0x44]
or al, byte [esp + 0x34]
or al, byte [esp + 0x3c]
or al, byte [esp + 0x40]
or al, dl
or al, byte [esp + 0x2c]
lea edx, [esi - 2]
shr edx, 3
add esi, 8
mov byte [edx + ebx], al
lea eax, [esi - 2]
cmp eax, ebp
jb 0x54ae57
jmp 0x54aa9a
fstp st(0)
xor ebx, ebx
fstp st(2)
fstp st(0)
fstp st(0)
test ebp, ebp
je 0x54aa9c
mov esi, dword [esp + 0x24]
lea eax, [edi + 1]
mov edx, edi
sub edx, eax
add edx, 2
mov ecx, edi
add esi, eax
sub ecx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x18]
movzx ecx, byte [esi + eax]
movzx edx, byte [esi]
mov eax, dword [esp + 0x48]
push ecx
movzx ecx, byte [eax + esi]
push edx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004f1be0
mov edx, dword [esp + 0x44]
mov byte [ebx + edx], al
inc ebx
add esi, 3
cmp ebx, ebp
jb 0x54b0e0
jmp 0x54aa9c
cmp byte [esp + 0x288], 0
je 0x54b505
xor al, al
xor esi, esi
test al, al
jne 0x54b184
lea edx, [esp + 0x13c]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov edi, eax
or dword [esp + 0x1c], 0x40
mov byte [esp + 0x278], 0x2c
cmp dword [0x695aa8], esi
je 0x54b169
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x54b169
call fcn.004443b0
jmp 0x54b16e
mov al, byte [0x68a580]
test al, al
je 0x54b184
push edi
call fcn.00445fa0
add esp, 4
cmp eax, 1
jb 0x54b184
mov bl, 1
jmp 0x54b186
xor bl, bl
test byte [esp + 0x1c], 0x40
mov dword [esp + 0x278], 0x2b
je 0x54b1c7
mov eax, dword [esp + 0x158]
and dword [esp + 0x1c], 0xffffffbf
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x150], 8
jb 0x54b1c7
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00584768
add esp, 4
test bl, bl
je 0x54b507
push 0x6366e8
lea ecx, [esp + 0x1f4]
call fcn.00402bb0
mov ebx, 7
xor edx, edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], esi
mov word [esp + 0xd8], dx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
xor eax, eax
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x128], esi
mov word [esp + 0x118], ax
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], esi
mov byte [esp + 0x278], 0x2f
call fcn.00425e70
cmp eax, esi
je 0x54b265
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x1f8]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x54b275
lea edx, [esp + 0x1f0]
push edx
call fcn.004292f0
add esp, 4
mov edi, eax
call fcn.00420510
mov dword [esp + 0x104], eax
mov byte [esp + 0x278], 0x30
call fcn.00420510
mov dword [esp + 0x108], eax
mov byte [esp + 0x278], 0x31
call fcn.00420510
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], esi
mov byte [esp + 0x278], 0x32
mov dword [esp + 0x214], 1
mov dword [esp + 0x21c], str....._srccommonimagbmp.cpp
mov dword [esp + 0x224], str.wxBMPHandler::SaveDib
mov dword [esp + 0x220], 0x1e6
mov dword [esp + 0x228], 0x5fcf00
mov dword [esp + 0x22c], esi
mov dword [esp + 0x230], esi
mov dword [esp + 0x234], esi
mov dword [esp + 0x238], esi
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x23c], eax
xor eax, eax
mov dword [esp + 0x240], esi
mov dword [esp + 0x258], ebx
mov dword [esp + 0x254], esi
mov word [esp + 0x244], ax
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], esi
lea ecx, [esp + 0x104]
mov byte [esp + 0x278], 0x33
call fcn.0041de00
push eax
lea ecx, [esp + 0x218]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x268]
push edx
call fcn.005844d1
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x258], ebp
jb 0x54b39d
mov eax, dword [esp + 0x244]
push eax
call fcn.00584768
add esp, 4
mov edi, dword [esp + 0x240]
xor ecx, ecx
mov dword [esp + 0x258], ebx
mov dword [esp + 0x254], esi
mov word [esp + 0x244], cx
mov dword [esp + 0x68], edi
cmp edi, esi
je 0x54b41f
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
push 0x40b5f0
push edx
push eax
mov byte [esp + 0x284], 0x34
call fcn.00447740
mov ebp, dword [edi + 0x10]
push ebp
mov dword [edi + 0x18], esi
call fcn.005844d1
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push 0x475ea0
push ecx
push edx
mov byte [esp + 0x294], 0x32
call fcn.00447740
mov eax, dword [edi]
push eax
mov dword [edi + 8], esi
call fcn.005844d1
push edi
call fcn.00584768
mov ebx, 7
add esp, 0x24
lea ebp, [ebx + 1]
lea ecx, [esp + 0x104]
mov byte [esp + 0x278], 0x2f
call fcn.004020c0
mov eax, dword [esp + 0x134]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x12c], ebp
jb 0x54b45c
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xf4]
xor edx, edx
push eax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x12c], esi
mov word [esp + 0x11c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xec], ebp
jb 0x54b49d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x20c]
xor edx, edx
push eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], esi
mov word [esp + 0xdc], dx
mov byte [esp + 0x27c], 0x2b
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x204], ebp
jb 0x54b4e6
mov ecx, dword [esp + 0x1f0]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0x204], ebx
mov dword [esp + 0x200], esi
mov word [esp + 0x1f0], dx
mov al, 1
jmp 0x54b125
xor esi, esi
mov eax, dword [esp + 0x44]
push eax
call fcn.00585c9e
add esp, 4
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x278], 0x21
cmp ecx, esi
je 0x54b52c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00585c9e
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x278], 0xffffffff
cmp ecx, esi
je 0x54b554
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor al, al
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00585b7b
add esp, 0x268
ret 0x14