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

Disassembly:
push 0xffffffffffffffff
push 0x5e3366
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x170]
mov ebp, dword [esp + 0x174]
push 6
lea ecx, [esp + 0x44]
push ecx
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebx
call fcn.004741d0
test al, al
je 0x548fab
movzx edx, word [esp + 0x42]
movzx edi, word [esp + 0x44]
mov dword [esp + 0x3c], edx
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x2c], edi
neg ecx
or ecx, eax
push ecx
call fcn.0058229a
add esp, 4
mov dword [esp + 0x18], eax
or esi, 0xffffffff
mov dword [esp + 0x168], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x154], 6
mov dword [esp + 0x158], ebx
mov dword [esp + 0x24], ebx
cmp edi, ebx
jbe 0x548f07
add eax, 2
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
push 0x10
add edi, 0xfffffffe
push edi
mov ecx, ebp
call fcn.004741d0
test al, al
je 0x548f9e
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
call edx
add dword [esp + 0x154], eax
mov al, byte [edi]
adc dword [esp + 0x158], ebx
cmp al, bl
movzx eax, al
jne 0x548ec4
mov eax, 0x100
mov edx, dword [esp + 0x20]
movzx ecx, ax
cmp ecx, dword [esp + 0x30]
jl 0x548eed
cmp byte [edx], bl
jne 0x548ed8
mov byte [edx], 0xff
movzx eax, byte [edx]
cmp eax, dword [esp + 0x38]
jl 0x548eed
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
inc eax
add edx, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x2c]
jb 0x548e85
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x17c]
cmp eax, 0xffffffff
je 0x548f15
mov esi, eax
cmp esi, 0xffffffff
je 0x54915b
cmp esi, ebx
jl 0x54915b
cmp esi, edi
jge 0x54915b
shl esi, 4
add esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esp + 0x154]
sbb ecx, dword [esp + 0x158]
mov edx, eax
or edx, ecx
je 0x548f63
mov edx, dword [ebp]
push 1
push ecx
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebp
call eax
and eax, edx
cmp eax, 0xffffffff
je 0x548f9e
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
test al, al
je 0x549085
push 8
lea ecx, [esp + 0x158]
push ecx
mov ecx, ebp
call fcn.004741d0
test al, al
jne 0x548fb2
mov edx, dword [esp + 0x18]
push edx
call fcn.00585c9e
add esp, 4
xor al, al
jmp 0x549507
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00585c9e
add esp, 4
xor al, al
jmp 0x549507
mov eax, 8
mov ecx, 0x6366e0
lea edx, [esp + 0x154]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x54904e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x548fc3
xor eax, eax
mov edx, dword [ebp]
push 1
cmp eax, ebx
mov eax, dword [edx + 0x3c]
push 0xffffffffffffffff
push 0xfffffffffffffff8
mov ecx, ebp
sete byte [esp + 0x23]
call eax
and eax, edx
cmp eax, 0xffffffff
je 0x548f9e
cmp byte [esp + 0x17], bl
je 0x549085
lea ecx, [esp + 0xc8]
call fcn.004d82d0
mov edx, dword [esp + 0x178]
mov edi, dword [esp + 0x28]
push 0xffffffffffffffff
push edx
push ebp
push edi
lea ecx, [esp + 0xd8]
mov byte [esp + 0x178], 0xa
call fcn.0054e270
lea ecx, [esp + 0xc8]
mov byte [esp + 0x17], al
mov byte [esp + 0x168], bl
call fcn.004d7dd0
jmp 0x5490a5
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x54907a
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x54907a
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x54907a
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x548fdd
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x28]
push ebx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00547920
mov edi, dword [esp + 0x28]
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x88]
cmp eax, 5
je 0x5490bd
cmp eax, 0x1b
je 0x5490bd
xor al, al
jmp 0x5490bf
mov al, 1
cmp byte [esp + 0x17], bl
je 0x5494f6
cmp al, bl
je 0x5494f6
cmp word [esp + 0x3c], 2
jne 0x5494f6
push str.HotSpotX
lea ecx, [esp + 0xa8]
call fcn.00402c90
movzx eax, word [esi + 4]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
mov byte [esp + 0x170], 0xb
call fcn.00538ac0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x168], bl
call fcn.00405eb0
push str.HotSpotY
lea ecx, [esp + 0xa8]
call fcn.00402c90
movzx edx, word [esi + 6]
push edx
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
mov byte [esp + 0x170], 0xc
call fcn.00538ac0
lea ecx, [esp + 0xa4]
call fcn.00405eb0
jmp 0x5494f6
xor al, al
lea ecx, [ecx]
cmp al, bl
jne 0x5491c0
lea ecx, [esp + 0xa4]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x1c], 1
mov byte [esp + 0x168], 1
cmp dword [0x695aa8], ebx
je 0x5491a4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x5491a4
call fcn.004443b0
jmp 0x5491a9
mov al, byte [0x68a580]
cmp al, bl
je 0x5491c0
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x5491c4
mov byte [esp + 0x17], bl
test byte [esp + 0x1c], 1
mov dword [esp + 0x168], ebx
je 0x549207
mov edx, dword [esp + 0xc0]
and dword [esp + 0x1c], 0xfffffffe
push edx
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0xb8], edi
jb 0x54920c
mov eax, dword [esp + 0xa4]
push eax
call fcn.00584768
add esp, 4
jmp 0x54920c
mov edi, 8
cmp byte [esp + 0x17], bl
je 0x5494f2
push str.ICO:_Invalid_icon_index.
lea ecx, [esp + 0xa8]
call fcn.00402bb0
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor edx, edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x168], 4
call fcn.00425e70
cmp eax, ebx
je 0x54929a
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x5492aa
lea edx, [esp + 0xa4]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x48], eax
mov byte [esp + 0x168], 5
call fcn.00420510
mov dword [esp + 0x4c], eax
mov byte [esp + 0x168], 6
call fcn.00420510
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x168], 7
mov dword [esp + 0xc8], 1
mov dword [esp + 0xd0], str....._srccommonimagbmp.cpp
mov dword [esp + 0xd8], str.wxICOHandler::DoLoadFile
mov dword [esp + 0xd4], 0x6ab
mov dword [esp + 0xdc], 0x5fcf00
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xf0], eax
xor eax, eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], ax
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x168], 8
call fcn.0041de00
push eax
lea ecx, [esp + 0xcc]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x11c]
push edx
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0x10c], edi
jb 0x5493bb
mov eax, dword [esp + 0xf8]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xf4]
xor ecx, ecx
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], cx
mov dword [esp + 0x3c], esi
cmp esi, ebx
je 0x54943a
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push 0x40b5f0
push edx
push eax
mov byte [esp + 0x174], 9
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 0x475ea0
push ecx
push edx
mov byte [esp + 0x184], 7
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x168], 4
call fcn.004020c0
mov eax, dword [esp + 0x78]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x54946b
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x9c]
xor edx, edx
push eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x94], edi
jb 0x5494a3
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xc0]
xor edx, edx
push eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
mov byte [esp + 0x16c], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xb8], edi
jb 0x5494eb
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x549160
mov byte [esp + 0x17], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.00585c9e
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00585b7b
add esp, 0x158
ret 0x10