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

Disassembly:
push 0xffffffffffffffff
push 0x4b9a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0xe4], 0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov bl, 7
push 0x2a
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], bl
call fcn.004aa09a
or esi, 0xffffffff
cmp eax, esi
jne 0x40af6f
push ecx
lea eax, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004a9994
push ecx
lea edx, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0xf0], 8
call fcn.004a9994
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], bl
call fcn.00435d10
test eax, eax
jne 0x40aeab
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 5
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 3
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 2
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 1
call fcn.004a9c1f
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.004a9c1f
lea ecx, [esp + 0xf0]
mov dword [esp + 0xe4], esi
call fcn.004a9c1f
xor eax, eax
jmp 0x40b8b6
push ecx
lea eax, [esp + 0xf4]
mov dword [esp + 0x48], esp
mov ecx, esp
push eax
call fcn.004a9994
push ecx
lea edx, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0xf0], 9
call fcn.00403850
mov ecx, edi
mov byte [esp + 0xec], bl
call fcn.0040ac60
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 5
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 3
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 2
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 1
call fcn.004a9c1f
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.004a9c1f
mov dword [esp + 0xe4], esi
jmp 0x40b8a5
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.register
call fcn.004a9c8d
lea ebp, [edi + 4]
mov ecx, ebp
call fcn.00438180
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xec]
push eax
call fcn.00434d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 0xa
call fcn.004a9d0c
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xf4]
call fcn.00434d10
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 0xb
call fcn.004a9d0c
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
lea edx, [esp + 0x10]
push 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.wildpos
call fcn.004a9c8d
mov ecx, ebp
call fcn.00436ed0
mov eax, dword [esp + 0x10]
push eax
call fcn.00474ead
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.wildsize
call fcn.004a9c8d
mov ecx, ebp
call fcn.00436ed0
mov edx, dword [esp + 0x10]
push edx
call fcn.00474ead
add esp, 4
mov ecx, eax
test esi, esi
mov dword [esp + 0x2c], ecx
mov eax, 0x4ff11c
jne 0x40b2fa
test ecx, ecx
jne 0x40b08c
lea eax, [esp + 0x28]
push 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4fc5e4
call fcn.00441d00
mov ecx, edi
call fcn.0040a8a0
mov ecx, dword [edi + 0x1c]
lea eax, [edi + 0x10]
mov dword [esp + 0x2c], ecx
mov edi, dword [eax + 4]
mov eax, dword [0x4ffa20]
xor esi, esi
cmp eax, esi
je 0x40b39c
push str.backup
lea edx, [esp + 0x24]
push 0x4ff318
push edx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xe8], 0xc
call fcn.004a9d5c
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
cmp dword [0x4fef1c], esi
je 0x40b0ec
push 0x4fef20
lea ecx, [esp + 0x18]
call fcn.004a9feb
cmp dword [0x4fef78], esi
je 0x40b102
push 0x4fef74
lea ecx, [esp + 0x18]
call fcn.004a9feb
lea ecx, [esp + 0x14]
call fcn.00434be0
test eax, eax
jne 0x40b39c
push 1
lea ecx, [esp + 0x18]
call fcn.00434840
test eax, eax
jne 0x40b39c
push esi
lea ecx, [esp + 0x70]
call fcn.00415cc0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
push 0x8c5
lea ecx, [esp + 0x24]
mov byte [esp + 0xe8], 0x10
call fcn.004abac8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.004a768f
add esp, 0xc
lea ecx, [esp + 0x30]
push 0x3f
call fcn.004abac8
push esi
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004a9994
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0xf4], 0x11
call fcn.004a9994
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 0x10
call fcn.004162a0
push esi
push esi
push 0xcb
lea ecx, [esp + 0x78]
mov dword [0x4feef0], 0xcb
call fcn.00416340
cmp eax, 1
je 0x40b30c
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 0xf
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 0xd
call fcn.004a9c1f
lea ecx, [esp + 0xd8]
mov byte [esp + 0xe4], 0x13
call fcn.004a9c1f
lea ecx, [esp + 0xd4]
mov byte [esp + 0xe4], 0x12
call fcn.004a9c1f
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe4], 0x14
mov dword [esp + 0xc8], 0x4ca7b4
call fcn.004060d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe4], bl
call fcn.004ab31a
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 5
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 3
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 2
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 1
call fcn.004a9c1f
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.004a9c1f
lea ecx, [esp + 0xf0]
mov dword [esp + 0xe4], 0xffffffff
call fcn.004a9c1f
xor eax, eax
jmp 0x40b8b6
push esi
mov ecx, 0x4ff11c
call fcn.004a829d
mov edi, eax
jmp 0x40b08f
lea ecx, [esp + 0x30]
mov dword [0x4feef0], esi
mov byte [esp + 0xe4], 0xf
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 0xd
call fcn.004a9c1f
lea ecx, [esp + 0xd8]
mov byte [esp + 0xe4], 0x16
call fcn.004a9c1f
lea ecx, [esp + 0xd4]
mov byte [esp + 0xe4], 0x15
call fcn.004a9c1f
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe4], 0x17
mov dword [esp + 0xc8], 0x4ca7b4
call fcn.004060d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe4], bl
call fcn.004ab31a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
cmp eax, esi
jle 0x40b80c
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0xec]
mov eax, dword [eax + 8]
push eax
call fcn.004a9d5c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xec]
push eax
call fcn.00434d10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 0x18
call fcn.004a9d0c
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xf0]
call fcn.004354c0
mov esi, eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 0x19
mov eax, dword [edx - 8]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004a70e4
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0xf0], 0x1a
call fcn.004a9e02
push esi
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0xec], 0x1b
push eax
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [esp + 0xf0]
push eax
mov byte [esp + 0xe8], 0x1c
call fcn.004a9d5c
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 0x1b
call fcn.004a9c1f
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 0x1a
call fcn.004a9c1f
lea ecx, [esp + 0x58]
mov byte [esp + 0xe4], 0x19
call fcn.004a9c1f
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
mov eax, dword [0x4ff144]
test eax, eax
je 0x40b4f2
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x4fc5e4
call fcn.004a9c8d
push ecx
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xf0], 0x1d
call fcn.00403850
mov ecx, dword [0x4ff144]
mov byte [esp + 0xec], bl
call fcn.0040ea70
lea eax, [esp + 0x60]
lea ecx, [esp + 0xf0]
push eax
call fcn.00434d10
push str.zchtmp.tmp
lea ecx, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0xf0], 0x1e
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xe8], 0x1f
call fcn.004a9d5c
lea ecx, [esp + 0x64]
mov byte [esp + 0xe4], 0x1e
call fcn.004a9c1f
lea ecx, [esp + 0x60]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004a9994
push ecx
lea eax, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xf0], 0x20
call fcn.004a9994
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], bl
call fcn.00435d10
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], esp
mov ecx, esp
push edx
call fcn.004a9994
push ecx
lea eax, [esp + 0xf4]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xf0], 0x21
call fcn.00403850
mov esi, dword [esp + 0x54]
mov byte [esp + 0xec], bl
mov ecx, esi
call fcn.0040ac60
mov eax, dword [0x4ff9a8]
test eax, eax
jne 0x40b8d1
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x50]
push ecx
push str.FILE:__
push edx
call fcn.004a9edc
push 0x4ee4f8
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0xec], 0x22
push eax
call fcn.004a9e68
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0x23
call fcn.004a9d0c
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 0x22
call fcn.004a9c1f
lea ecx, [esp + 0x50]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.register
call fcn.004a9c8d
mov ecx, ebp
call fcn.00438180
test eax, eax
je 0x40b667
push str.__register
lea ecx, [esp + 0x14]
call fcn.004a9faf
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004a9994
mov ecx, 0x4fee30
call fcn.00421b40
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x40], eax
push 0x4ee4fc
lea ecx, [esp + 0x48]
push 0x4fef30
push ecx
mov byte [esp + 0xf0], 0x24
call fcn.004a9e68
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xe8], 0x25
call fcn.004a9d0c
lea ecx, [esp + 0x44]
mov byte [esp + 0xe4], 0x24
call fcn.004a9c1f
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.register
call fcn.004a9c8d
mov ecx, ebp
call fcn.00438180
test eax, eax
je 0x40b6f6
push 0x4eea14
lea ecx, [esp + 0x44]
call fcn.004a9faf
lea edx, [esp + 0xf0]
push 0x4ee4f8
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004a9e68
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xe8], 0x26
call fcn.004a9feb
lea ecx, [esp + 0x28]
mov byte [esp + 0xe4], 0x24
call fcn.004a9c1f
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004a9994
mov ecx, 0x4fee30
call fcn.00421b40
push ecx
lea eax, [esp + 0xf4]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.004a9994
mov ecx, esi
call fcn.0040ba30
push ecx
lea edx, [esp + 0xf4]
mov dword [esp + 0x28], esp
mov ecx, esp
push edx
call fcn.004a9994
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xf0], 0x27
call fcn.00403850
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 0x24
call fcn.00436990
test eax, eax
jne 0x40b7e7
push ecx
lea edx, [esp + 0xf4]
mov dword [esp + 0x28], esp
mov ecx, esp
push edx
call fcn.004a9994
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0xf0], 0x28
call fcn.00403850
mov ecx, 0x4fee30
mov byte [esp + 0xec], 0x24
call fcn.00423580
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], bl
call fcn.004a9c1f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40b3ac
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0x44]
call fcn.004a9baa
lea ecx, [esi + 0x30]
call fcn.004a9baa
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 6
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 5
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 4
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 3
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 2
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 1
call fcn.004a9c1f
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.004a9c1f
mov dword [esp + 0xe4], 0xffffffff
lea ecx, [esp + 0xf0]
call fcn.004a9c1f
mov eax, 1
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd8
ret 8
lea ecx, [esp + 0x18]
call fcn.00436630
jmp 0x40b810