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

Disassembly:
push 0xffffffffffffffff
push 0x477cda
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x170], ebx
push 3
mov ebp, 0xf
push 0x4832f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00401bf0
push 0xffffffffffffffff
mov byte [esp + 0x174], 1
push ebx
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00401910
mov byte [esp + 0x170], 2
mov eax, dword [esp + 0x64]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jae 0x40bae9
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
xor eax, eax
call fcn.004057e0
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40c08d
add esi, 8
mov dword [esp + 0x24], esi
jmp 0x40bb18
mov eax, dword [esp + 0x14]
push eax
xor ecx, ecx
lea esi, [esp + 0x9c]
lea edx, [esp + 0x80]
call fcn.0040cf20
sub esp, 0x1c
mov byte [esp + 0x18c], 3
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4832f4
mov byte [ecx + 4], bl
call fcn.00401bf0
mov ecx, dword [esp + 0xb8]
cmp dword [esp + 0xcc], edi
jae 0x40bb6b
lea ecx, [esp + 0xb8]
push str.ATB:
lea edi, [esp + 0x168]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x18c], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4832f4
mov byte [ecx + 4], bl
call fcn.00401bf0
cmp dword [esp + 0xcc], 0x10
mov ecx, dword [esp + 0xb8]
jae 0x40bbba
lea ecx, [esp + 0xb8]
push str.OPT:
lea edi, [esp + 0x14c]
call fcn.0040f860
add esp, 4
mov byte [esp + 0x18c], 5
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x483234
mov byte [ecx + 4], bl
call fcn.00401bf0
lea eax, [esp + 0x164]
push eax
mov ecx, str.ATB:
lea edi, [esp + 0x48]
mov byte [esp + 0x190], 6
call fcn.0040db00
sub esp, 0x18
mov byte [esp + 0x1a8], 7
mov esi, esp
mov dword [esp + 0x54], esp
push eax
mov edi, 0x4832f4
call fcn.0040da50
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x1c4], 8
mov dword [esp + 0x74], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xf4]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
lea ecx, [esp + 0x98]
mov byte [esp + 0x1c4], 9
call fcn.0040f4c0
add esp, 0x54
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x17c], 0xa
call fcn.00401910
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x40bc9b
mov eax, dword [esp + 0x48]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0x170], 5
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x40], esi
jb 0x40bcc2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004396bc
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x483234
mov byte [ecx + 4], bl
call fcn.00401bf0
lea edx, [esp + 0x148]
push edx
mov ecx, str.OPT:
lea edi, [esp + 0x48]
mov byte [esp + 0x190], 0xb
call fcn.0040db00
sub esp, 0x18
mov byte [esp + 0x1a8], 0xc
mov esi, esp
mov dword [esp + 0x54], esp
push eax
mov edi, 0x4832f4
call fcn.0040da50
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x1c4], 0xd
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf4]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
lea ecx, [esp + 0x98]
mov byte [esp + 0x1c4], 0xe
call fcn.0040f4c0
add esp, 0x54
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x17c], 0xf
call fcn.00401910
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x40bd8a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004396bc
add esp, 4
mov byte [esp + 0x170], 5
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x40], esi
jb 0x40bdb1
mov edx, dword [esp + 0x2c]
push edx
call fcn.004396bc
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x134], ebp
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
call fcn.00401910
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov dword [esp + 0x104], ebp
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x17c], 0x11
call fcn.00401910
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xf8]
call fcn.00401910
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0xc0]
call fcn.00401910
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xb4]
push ecx
call fcn.0040d060
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax]
push 0xffffffffffffffff
lea esi, [esp + 0x2c]
lea edx, [esp + 0x80]
call fcn.0040cf20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x17c], 0x12
call fcn.00401910
mov esi, 0x10
mov byte [esp + 0x170], 0x11
cmp dword [esp + 0x40], esi
jb 0x40becf
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], esi
jae 0x40bedd
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x74]
push edx
push eax
lea eax, [esp + 0x84]
push eax
xor eax, eax
call fcn.004057e0
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x40bf48
cmp dword [esp + 0x90], ebx
jbe 0x40bf48
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xb8]
push edx
lea edi, [esp + 0x30]
call fcn.0040d8e0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x17c], 0x13
call fcn.00401910
cmp dword [esp + 0x40], esi
jb 0x40bf48
mov eax, dword [esp + 0x2c]
push eax
call fcn.004396bc
add esp, 4
cmp dword [esp + 0x104], esi
jb 0x40bf61
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x104], ebp
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0xe8], esi
jb 0x40bf8f
mov edx, dword [esp + 0xd4]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xcc], esi
jb 0x40bfbd
mov eax, dword [esp + 0xb8]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x128], esi
jb 0x40bfeb
mov ecx, dword [esp + 0x114]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
cmp dword [esp + 0x144], esi
jb 0x40c019
mov edx, dword [esp + 0x130]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
cmp dword [esp + 0x160], esi
jb 0x40c047
mov eax, dword [esp + 0x14c]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0x170], 2
mov dword [esp + 0x160], ebp
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
cmp dword [esp + 0xb0], esi
jb 0x40c07d
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004396bc
add esp, 4
cmp dword [esp + 0x14], 0xffffffff
mov edi, 0x10
jne 0x40bb14
cmp dword [esp + 0x94], edi
jb 0x40c0a6
mov edx, dword [esp + 0x80]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x78], edi
jb 0x40c0ce
mov eax, dword [esp + 0x64]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x190], edi
jb 0x40c0f3
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x160
ret 0x1c