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

Disassembly:
push 0xffffffffffffffff
push 0x514508
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5aa4e4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [0x5a2fb8]
add eax, 0x1c
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [0x540500]
xor esi, esi
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x40]
call fcn.00490893
mov byte [esp + 0x70], 1
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 1
call fcn.004909a1
mov ebp, dword [esp + 0x78]
mov bl, 6
lea ecx, [esp + 0x54]
call fcn.00451930
mov byte [esp + 0x70], 2
push ebp
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00462290
add esp, 0xc
mov byte [esp + 0x70], 3
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00491808
mov edi, eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4623f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4625a3
lea ecx, [esp + 0x18]
call fcn.00402a60
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
call fcn.00451b50
lea ecx, [esp + 0x54]
call fcn.00491bc4
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], 0
je 0x46257e
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004621f0
add esp, 8
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jg 0x462451
or eax, 0xffffffff
jmp 0x46246b
push 0x2e
push eax
call fcn.004cb711
add esp, 8
test eax, eax
jne 0x462465
or eax, 0xffffffff
jmp 0x46246b
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004090e0
mov byte [esp + 0x70], 7
push eax
lea ecx, [esp + 0x18]
call fcn.00406fb0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x24]
call fcn.00402ad0
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00490d8f
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.004621f0
add esp, 8
mov byte [esp + 0x70], 8
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [0x54068c]
mov edi, eax
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x28]
call fcn.00402ad0
test edi, edi
jne 0x4624ee
call dword [0x540510]
cmp eax, 2
jne 0x462625
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004621f0
add esp, 8
mov byte [esp + 0x70], 9
mov eax, dword [eax]
push eax
call dword [0x54050c]
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x2c]
call fcn.00402ad0
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.004621f0
mov edi, eax
mov byte [esp + 0x78], 0xa
push ebp
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.00462290
add esp, 0x14
mov byte [esp + 0x70], 0xb
mov edi, dword [edi]
mov eax, dword [eax]
push 0
push edi
push eax
call dword [0x54068c]
mov edi, eax
mov byte [esp + 0x70], 0xa
lea ecx, [esp + 0x30]
call fcn.00402ad0
mov byte [esp + 0x70], bl
lea ecx, [esp + 0x34]
call fcn.00402ad0
test edi, edi
je 0x462625
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x14]
call fcn.00402ad0
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4625a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x54]
call fcn.00451990
inc esi
cmp esi, 0x14
jl 0x46239c
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
jle 0x4625ec
test esi, esi
jl 0x4626e0
cmp esi, eax
jge 0x4626e0
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + esi*4]
push eax
call dword [0x54050c]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x4625c5
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x40]
call fcn.00490bfc
mov dword [esp + 0x70], 0xffffffff
mov edx, dword [esp + 0x38]
push edx
call dword [0x5404f8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esp + 0x1c], 0
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x14]
call fcn.00402ad0
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x18]
call fcn.00402ad0
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x54]
call fcn.00451990
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4625ec
xor esi, esi
test eax, eax
jle 0x4625ec
mov edi, dword [0x5405d8]
mov bl, 0xd
lea ecx, [ecx]
test esi, esi
jl 0x4626e0
cmp esi, eax
jge 0x4626e0
mov ecx, dword [esp + 0x44]
lea eax, [ecx + esi*4]
push 0x561344
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040fd60
add esp, 0xc
mov byte [esp + 0x70], bl
cmp esi, dword [esp + 0x48]
jge 0x4626e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
push 2
push ecx
push eax
call edi
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4626d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x462670
jmp 0x4625ec
call fcn.00480fe6
int3