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

Disassembly:
push 0xffffffffffffffff
push 0x5d7626
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x118]
mov esi, dword [esp + 0x11c]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ebx
call fcn.00423980
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ebx
xor edi, edi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
call fcn.00402610
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push ecx
mov eax, esp
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], esp
push ecx
mov ecx, esi
mov dword [esp + 0x118], ebx
mov dword [eax], 0x3b
call fcn.00422130
mov eax, dword [esi + 0x10]
mov byte [esp + 0x110], 1
cmp dword [esp + 0x74], eax
jne 0x4d0590
push esi
lea ecx, [esp + 0x68]
call fcn.00420850
cmp eax, ebx
sete al
cmp al, bl
jne 0x4d0612
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x4d059f
lea eax, [esp + 0x64]
push eax
call fcn.0058c3e8
add esp, 4
push ebx
push ecx
mov edi, eax
mov eax, esp
lea edx, [esp + 0x90]
mov dword [esp + 0x28], esp
push edx
mov ecx, esi
mov dword [eax], 0x3b
call fcn.00422330
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 2
cmp ecx, eax
je 0x4d05e0
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402610
mov edx, dword [esp + 0xa4]
push edx
mov byte [esp + 0x114], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], 8
jb 0x4d0612
mov eax, dword [esp + 0x88]
push eax
call fcn.00584768
add esp, 4
call fcn.004c4850
mov esi, eax
push esi
push 0xb
call fcn.004aadf0
add esp, 8
cmp dword [esp + 0x124], eax
jne 0x4d065a
push esi
push 0xc
call fcn.004aadf0
add esp, 8
cmp dword [esp + 0x128], eax
jne 0x4d065a
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4d0650
lea eax, [esp + 0x40]
push 1
push ebx
lea ecx, [esp + 0x24]
push ecx
jmp 0x4d0699
push esi
push 0x31
call fcn.004aadf0
add esp, 8
cmp dword [esp + 0x124], eax
jne 0x4d06a1
push esi
push 0x32
call fcn.004aadf0
add esp, 8
cmp dword [esp + 0x128], eax
jne 0x4d06a1
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4d0691
lea eax, [esp + 0x40]
push 1
lea edx, [esp + 0x20]
push edx
push ebx
push edi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp eax, ebx
jne 0x4d0ab3
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4d06c0
lea eax, [esp + 0x40]
push edi
push eax
call fcn.0046fe30
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x4d0ab3
xor al, al
lea esp, [esp]
cmp al, bl
jne 0x4d0740
lea eax, [esp + 0x88]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov byte [esp + 0x110], 3
cmp dword [0x695aa8], ebx
je 0x4d0724
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x4d0724
call fcn.004443b0
jmp 0x4d0729
mov al, byte [0x68a580]
cmp al, bl
je 0x4d0740
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x4d0744
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov esi, 1
mov dword [esp + 0x110], esi
je 0x4d0786
mov ecx, dword [esp + 0xa4]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], 8
jb 0x4d0786
mov edx, dword [esp + 0x88]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4d0a51
call fcn.00420510
mov dword [esp + 0x2c], eax
mov byte [esp + 0x110], 4
call fcn.00420510
mov dword [esp + 0x30], eax
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push str.Failed_to_load_icon_from_the_file__s
push eax
mov byte [esp + 0x11c], 5
call fcn.00402340
add esp, 0xc
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push str.wx.sys_error
lea ecx, [esp + 0x8c]
mov byte [esp + 0x114], 6
call fcn.00402bb0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00406280
mov byte [esp + 0x11c], 8
mov dword [esp + 0xb8], esi
mov dword [esp + 0xc0], str....._srcmswgdiimage.cpp
mov dword [esp + 0xc8], str.wxICOFileHandler::LoadIcon
mov dword [esp + 0xc4], 0x22d
mov dword [esp + 0xcc], 0x5fcf00
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov ebp, 7
xor edx, edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov byte [esp + 0x11c], 9
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
mov edi, eax
push ebx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xf4]
call fcn.00402610
mov ecx, dword [esp + 0xe4]
cmp ecx, ebx
jne 0x4d092b
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x11c], 0xa
cmp esi, ebx
je 0x4d091a
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x12c], 0xb
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x4d091c
xor ecx, ecx
mov byte [esp + 0x11c], 9
mov dword [esp + 0xe4], ecx
lea edx, [esp + 0x94]
push edx
call fcn.004775a0
mov dword [eax], edi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x120], 0xc
call fcn.00486c30
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf0], 8
jb 0x4d097d
mov edx, dword [esp + 0xdc]
push edx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xd8]
xor eax, eax
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], ax
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x4d09f7
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push 0x40b5f0
push ecx
push edx
mov byte [esp + 0x11c], 0xd
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0x475ea0
push eax
push ecx
mov byte [esp + 0x12c], 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 edx, dword [esp + 0xa4]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x9c], 8
jb 0x4d0a21
mov eax, dword [esp + 0x88]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x88], cx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x110], 1
call fcn.004020c0
mov al, 1
jmp 0x4d06e0
mov edx, dword [esp + 0x80]
push edx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x78], esi
jb 0x4d0a79
mov eax, dword [esp + 0x64]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x5c]
xor ecx, ecx
push edx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x4d0aac
mov eax, dword [esp + 0x40]
push eax
call fcn.00584768
add esp, 4
xor al, al
jmp 0x4d0b86
push eax
mov ecx, ebp
call fcn.004d7200
test al, al
jne 0x4d0b19
mov ecx, dword [esp + 0x80]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x78], esi
jb 0x4d0ae2
mov edx, dword [esp + 0x64]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x5c]
xor eax, eax
push ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x4d0aac
mov edx, dword [esp + 0x40]
push edx
call fcn.00584768
add esp, 4
xor al, al
jmp 0x4d0b86
mov ecx, dword [esp + 0x124]
cmp ecx, 0xffffffff
je 0x4d0b37
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x4d0b30
xor eax, eax
jmp 0x4d0b33
mov eax, dword [eax + 8]
cmp ecx, eax
jne 0x4d0b55
mov ecx, dword [esp + 0x128]
cmp ecx, 0xffffffff
je 0x4d0b72
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x4d0b4e
xor eax, eax
jmp 0x4d0b51
mov eax, dword [eax + 0xc]
cmp ecx, eax
je 0x4d0b72
mov ecx, ebp
call fcn.00423980
lea ecx, [esp + 0x64]
call fcn.00405eb0
lea ecx, [esp + 0x40]
call fcn.00405eb0
xor al, al
jmp 0x4d0b86
lea ecx, [esp + 0x64]
call fcn.00405eb0
lea ecx, [esp + 0x40]
call fcn.00405eb0
mov al, 1
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00585b7b
add esp, 0x100
ret 0x14