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

Disassembly:
push 0xffffffffffffffff
push 0x54b044
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x59e784]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59e784]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x190], ebx
mov esi, ecx
push 0x578588
mov ecx, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], ebx
call fcn.004094d0
push ecx
mov dword [esp + 0x194], ebx
mov ecx, esp
mov dword [esp + 0x24], esp
push str._eh_vector_destructor_iterator
mov dword [esp + 0x60], 1
call fcn.004094d0
lea ebp, [esi + 0x74]
push ebp
call fcn.00402810
cmp eax, ebx
je 0x40c5e6
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x57884c
call fcn.004094d0
push ecx
mov dword [esp + 0x198], 1
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x57885c
call fcn.004094d0
lea esi, [esp + 0x30]
mov ecx, ebp
mov byte [esp + 0x198], bl
call fcn.00402940
mov dword [esp + 0x190], 2
mov eax, dword [esp + 0x28]
push eax
call dword [0x54e3f4]
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00409850
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00402750
cmp eax, ebx
je 0x40c5bf
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x578ac0
call fcn.004094d0
push ecx
mov byte [esp + 0x198], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x578874
call fcn.004094d0
lea esi, [esp + 0x34]
mov ecx, ebp
mov byte [esp + 0x198], 2
call fcn.00402940
mov byte [esp + 0x190], 4
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0xc0]
push 0x104
push edx
call fcn.0051c011
add esp, 0xc
push 0x578ad0
push 0x64
lea eax, [esp + 0xc4]
push 0x5c
push eax
call fcn.0051c080
add eax, 2
add esp, 8
push eax
call fcn.0051c011
lea ecx, [esp + 0xc8]
add esp, 0xc
push ecx
lea esi, [esp + 0x68]
call fcn.0041c440
add esp, 4
mov edi, eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x194], 5
call fcn.0041c1f0
add esp, 4
mov esi, eax
mov byte [esp + 0x190], 6
mov eax, dword [esi + 4]
add eax, 8
push 0x5783d8
push eax
call fcn.00407e00
mov ecx, dword [esi + 4]
add ecx, 8
push 0x578ae4
push ecx
call fcn.00407e00
mov edx, dword [esi + 4]
add edx, 8
push 0x5783e0
push edx
call fcn.00407e00
mov eax, dword [esi + 4]
add esp, 0x18
push 0x234
add eax, 8
push eax
call fcn.00403a60
mov ecx, dword [esi + 4]
add ecx, 8
push 0x5783d4
push ecx
call fcn.00407e00
add esp, 8
cmp dword [edi + 0x18], 8
jb 0x40bfef
mov edi, dword [edi + 4]
jmp 0x40bff2
add edi, 4
push esi
mov ebx, edi
call fcn.0041c3b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x190], 5
call fcn.0041c250
mov byte [esp + 0x190], 4
cmp dword [esp + 0x7c], 8
jb 0x40c02a
mov edx, dword [esp + 0x68]
push edx
call fcn.0041d31d
add esp, 4
push ecx
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004094d0
mov ecx, ebp
call fcn.00402750
test eax, eax
je 0x40c591
xor eax, eax
push 0x578b00
lea ecx, [esp + 0x68]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call fcn.004094d0
push 0x578b0c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x194], 7
call fcn.004094d0
push 0x578b1c
lea ecx, [esp + 0x70]
mov byte [esp + 0x194], 8
call fcn.004094d0
push 0x578b28
lea ecx, [esp + 0x74]
mov byte [esp + 0x194], 9
call fcn.004094d0
push 0x578b38
lea ecx, [esp + 0x78]
mov byte [esp + 0x194], 0xa
call fcn.004094d0
push 0x578b48
lea ecx, [esp + 0x7c]
mov byte [esp + 0x194], 0xb
call fcn.004094d0
mov byte [esp + 0x190], 0xc
mov edi, 1
push 0x578b58
lea ecx, [esp + 0x20]
call fcn.004094d0
push 0xa
lea ecx, [esp + 0xac]
push ecx
mov bl, 0xd
push edi
mov byte [esp + 0x19c], bl
call fcn.0051d967
add esp, 0xc
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040cac0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 0xe
call fcn.004098c0
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c181
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.0041c1f0
add esp, 4
mov esi, eax
mov byte [esp + 0x190], 0xf
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
add edx, 8
push 0x5783d8
push edx
call fcn.00407e00
mov eax, dword [esi + 4]
add eax, 8
push 0x578ae4
push eax
call fcn.00407e00
mov ecx, dword [esi + 4]
add ecx, 8
push 0x5783e0
push ecx
call fcn.00407e00
mov edx, dword [esi + 4]
add esp, 0x18
push 0x242
add edx, 8
push edx
call fcn.00403a60
mov eax, dword [esi + 4]
add eax, 8
push 0x5783d4
push eax
call fcn.00407e00
add esp, 8
push esi
call fcn.0041c3b0
mov bl, 0xd
lea ecx, [esp + 0x8c]
mov byte [esp + 0x190], bl
call fcn.0041c250
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x8c], esp
mov esi, esp
push eax
call fcn.00409850
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x198], 0x10
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x578874
call fcn.004094d0
lea esi, [esp + 0x20]
mov ecx, ebp
mov byte [esp + 0x198], bl
call fcn.00402940
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x194], 0x11
call fcn.0041c1f0
add esp, 4
mov esi, eax
mov byte [esp + 0x190], 0x12
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x18]
add edx, 8
push 0x5783d8
push edx
call fcn.00407e00
mov eax, dword [esi + 4]
add eax, 8
push 0x578ae4
push eax
call fcn.00407e00
push 0x5783e0
mov ecx, dword [esi + 4]
add ecx, 8
push ecx
call fcn.00407e00
mov edx, dword [esi + 4]
add esp, 0x18
push 0x245
add edx, 8
push edx
call fcn.00403a60
mov eax, dword [esi + 4]
add eax, 8
push 0x5783d4
push eax
call fcn.00407e00
add esp, 8
push esi
call fcn.0041c3b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x190], 0x11
call fcn.0041c250
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x40c3e1
push 0x578b60
push ecx
call fcn.0051d991
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40c32a
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x40c32a
inc dword [esp + 0x34]
jmp 0x40c3e1
cmp dword [ecx - 0xc], 0
jl 0x40c3dd
push 0x578b6c
push ecx
call fcn.0051d991
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40c35c
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x40c35c
inc dword [esp + 0x38]
jmp 0x40c3e1
cmp dword [ecx - 0xc], 0
jl 0x40c3dd
push 0x578b78
push ecx
call fcn.0051d991
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40c387
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x40c387
inc dword [esp + 0x3c]
jmp 0x40c3e1
cmp dword [ecx - 0xc], 0
jl 0x40c3dd
push 0x578b84
push ecx
call fcn.0051d991
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40c3b2
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x40c3b2
inc dword [esp + 0x40]
jmp 0x40c3e1
cmp dword [ecx - 0xc], 0
jl 0x40c3dd
push 0x578b90
push ecx
call fcn.0051d991
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x40c3dd
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x40c3dd
inc dword [esp + 0x44]
jmp 0x40c3e1
inc dword [esp + 0x30]
lea eax, [ecx - 0x10]
mov byte [esp + 0x190], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c42d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x32
jl 0x40c104
xor eax, eax
xor ecx, ecx
mov word [esp + 0x94], cx
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov word [esp + 0xa6], ax
xor edi, edi
lea esp, [esp]
mov eax, dword [esp + edi + 0x30]
push 0xa
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0051d967
mov ebp, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + edi + 0x64]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.004038f0
add esp, 0xc
lea ecx, [esp + 0x94]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x19c], 0x13
call fcn.0040cac0
add esp, 0xc
mov byte [esp + 0x190], 0x14
mov ecx, dword [eax]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40c51a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x40c50e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40c50e
push eax
call fcn.00409850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40c503
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ebp, 0x10
mov dword [ecx], ebp
jmp 0x40c51a
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00409770
mov byte [esp + 0x190], 0x13
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c56a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, 0x18
jl 0x40c470
push 0x408d60
push 6
push 4
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x1a0], 4
call fcn.0051d571
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c5b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.0041c1f0
add esp, 4
mov esi, eax
mov dword [esp + 0x190], 0x15
mov edx, dword [esi + 4]
mov ebx, dword [edi]
add edx, 8
push 0x5783d8
push edx
call fcn.00407e00
mov eax, dword [esi + 4]
add eax, 8
push 0x578ae4
push eax
call fcn.00407e00
mov ecx, dword [esi + 4]
add ecx, 8
push 0x5783e0
push ecx
call fcn.00407e00
mov edx, dword [esi + 4]
add esp, 0x18
push 0x26d
add edx, 8
push edx
call fcn.00403a60
mov eax, dword [esi + 4]
add eax, 8
push 0x5783d4
push eax
call fcn.00407e00
add esp, 8
push esi
call fcn.0041c3b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x190], 0
call fcn.0041c250
mov eax, edi
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0051b5e0
add esp, 0x180
ret