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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x553768
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x483a31
mov eax, dword [ebp + 8]
lea esi, [esp + 0x48]
call fcn.00449ac0
mov ecx, dword [ebp + 8]
push 1
mov dword [esp + 0x74], ebx
call fcn.004e9ba1
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x483820
mov eax, dword [eax]
jmp 0x483822
xor eax, eax
push eax
lea ecx, [esp + 0x20]
call fcn.00417990
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x3c], ebx
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0x20]
mov byte [esp + 0x74], 2
call fcn.00483e70
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor esi, esi
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x18], esi
je 0x4839ee
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov eax, dword [esp + 0x2c]
jae 0x4839d8
cmp dword [esi + eax], 0
je 0x4838ea
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4838b2
mov ecx, dword [eax]
jmp 0x4838b4
xor ecx, ecx
mov eax, dword [edi + 0x2c]
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov edx, eax
shr edx, 1
and edx, 1
push edx
and eax, 1
push eax
mov eax, dword [edi + 0x28]
push 0x258
push eax
push ecx
add esi, 0x28
call fcn.0044d340
mov edx, dword [esi]
add esp, 0x14
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x18]
jmp 0x483908
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 4]
lea ecx, [edi + 0x20]
add ebx, 0x28
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push eax
call edx
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x48392c
mov edx, dword [esp + 0x30]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x483935
call fcn.00510270
mov ecx, dword [esp + 0x2c]
mov ecx, dword [esi + ecx + 4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, ebx
call edx
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
push eax
lea eax, [edi + 0x78]
push eax
je 0x48398d
mov edx, dword [esp + 0x48]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x483996
call fcn.00510270
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + ecx + 8]
push ecx
mov dword [esp + 0x34], esp
sub eax, 0x10
mov dword [esp + 0x34], esp
push eax
call fcn.00417490
mov edx, dword [esp + 0x38]
add esp, 4
add eax, 0x10
push ebx
mov ecx, edi
mov dword [edx], eax
call fcn.00483a50
add dword [esp + 0x14], 1
mov eax, dword [edi + 0x7c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
add esi, 0xc
jmp 0x48386f
mov edi, dword [esp + 0x30]
call fcn.0048a740
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e946d
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
call fcn.00449b30
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4