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

Disassembly:
push 0xffffffffffffffff
push 0x5e15e9
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x53a2ae
cmp byte [eax + 0x20], bl
je 0x53a2ae
cmp dword [eax + 8], ebx
je 0x53a2ae
cmp dword [eax + 0xc], ebx
je 0x53a2ae
cmp dword [eax + 0x1c], ebx
jne 0x53a2b5
xor al, al
jmp 0x53a646
push ebx
push ebx
mov edi, 1
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00538600
test al, al
jne 0x53a628
lea ebp, [edi + 7]
mov edi, edi
cmp al, bl
jne 0x53a33d
lea eax, [esp + 0x100]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], edi
mov dword [esp + 0x130], ebx
cmp dword [0x695aa8], ebx
je 0x53a322
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53a322
call fcn.004443b0
jmp 0x53a327
mov al, byte [0x68a580]
cmp al, bl
je 0x53a33d
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, edi
jae 0x53a341
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x130], 0xffffffff
je 0x53a381
mov ecx, dword [esp + 0x11c]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x114], ebp
jb 0x53a381
mov edx, dword [esp + 0x100]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53a2ae
push str.No_unused_colour_in_image_being_masked.
lea ecx, [esp + 0xe0]
call fcn.00402bb0
mov dword [esp + 0x130], edi
mov edi, 7
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
xor ecx, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x130], 3
call fcn.00425e70
cmp eax, ebx
je 0x53a407
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xe4]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53a417
lea eax, [esp + 0xdc]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x130], 4
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x130], 5
call fcn.00420510
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x130], 6
mov dword [esp + 0x84], 1
mov dword [esp + 0x8c], str....._srccommonimage.cpp
mov dword [esp + 0x94], str.wxImage::ConvertAlphaToMask
mov dword [esp + 0x90], 0x974
mov dword [esp + 0x98], 0x5fcf00
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor ecx, ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], cx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 7
call fcn.0041de00
push eax
lea edx, [esp + 0x88]
push edx
call fcn.0040b680
mov eax, dword [esp + 0xd8]
push eax
mov byte [esp + 0x13c], 6
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0xc8], ebp
jb 0x53a530
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0xb0]
xor edx, edx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], dx
mov esi, ecx
cmp ecx, ebx
je 0x53a563
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 3
call fcn.004020c0
mov eax, dword [esp + 0x7c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x74], ebp
jb 0x53a594
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x58]
xor edx, edx
push eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x53a5c3
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xf8]
xor edx, edx
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
mov dword [esp + 0x134], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf0], ebp
jb 0x53a606
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], dx
mov al, 1
lea edi, [edx + 1]
jmp 0x53a2e0
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005353c0
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00585b7b
add esp, 0x120
ret 4