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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0xd4]
push eax
push ecx
mov ecx, esi
mov byte [esi + 0x2e], 1
call fcn.004af6b0
mov ecx, esi
call fcn.004b0bc0
push 0
mov ecx, esi
mov dword [esi + 0x78], eax
mov byte [esi + 0x7c], 1
call fcn.004ac8a0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004aa740
push esi
lea ecx, [esp + 0x64]
call fcn.004aa890
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x64]
call fcn.004b2110
push esi
lea ecx, [esp + 0x9c]
call fcn.004aa890
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x9c]
call fcn.004b2110
push esi
lea ecx, [esp + 0x2c]
call fcn.004aa890
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004b3880
mov edx, dword [esi + 8]
mov eax, dword [edx + ebx*8 + 0x10]
lea edi, [esi + 8]
lea ecx, [esp + 0x28]
mov dword [esi + 0x10], eax
call fcn.004ac000
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
call fcn.004b2f80
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x64]
call fcn.004b2f80
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4b39be
push eax
mov dword [esi + 0x68], 0
call fcn.004aaf50
add esp, 4
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jle 0x4b3a6f
lea esp, [esp]
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x4b39ea
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, edi
call fcn.004a9f10
mov eax, dword [edi]
mov eax, dword [eax + ebx*8 + 0x14]
cmp eax, 0xfffffffd
je 0x4b3a31
cmp eax, 0xfffffffe
jne 0x4b3a65
mov eax, dword [edi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x4b3a14
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
mov ecx, edi
call fcn.004a9f10
mov ecx, dword [edi]
mov edx, dword [esi + 0x1c]
lea ebp, [esi + 0x1c]
mov dword [ecx + ebx*8 + 0x14], edx
push ebp
lea ecx, [esi + 0x14]
call fcn.004f3d20
inc dword [ebp]
inc dword [esi + 0x18]
jmp 0x4b3a65
cmp byte [esi + 0x34], 0
je 0x4b3a42
mov ebp, dword [esi + 0x1c]
lea eax, [ebp + 1]
mov dword [esi + 0x1c], eax
jmp 0x4b3a45
or ebp, 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x4b3a5f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
mov ecx, edi
call fcn.004a9f10
mov ecx, dword [edi]
mov dword [ecx + ebx*8 + 0x14], ebp
inc ebx
cmp ebx, dword [esi + 0xc]
jl 0x4b39d0
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x4b3a88
cmp dword [esi + 0x38], ebx
jne 0x4b3a88
mov ecx, edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
call fcn.004ab1f0
mov edx, dword [esi + 0x38]
sub edx, dword [esi + 0x18]
test edx, edx
jle 0x4b3afc
lea edi, [esi + 0x14]
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
jne 0x4b3ab4
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea edx, [ecx + 1]
cmp edx, dword [eax + 4]
jg 0x4b3ab4
mov edx, dword [esi + 0x1c]
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4b3ae3
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ebp, dword [esi + 0x1c]
push 0
push 4
inc ecx
push ecx
push 0x14
call fcn.004a0e90
mov edx, dword [edi]
add esp, 0x10
push eax
mov eax, dword [edx + 8]
push eax
mov ecx, edi
call fcn.004f3990
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [eax + ecx*4 + 0x10], ebp
mov eax, dword [edi]
mov ecx, 1
add dword [eax + 8], ecx
add dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x38]
sub edx, dword [esi + 0x18]
add ebx, ecx
cmp ebx, edx
jl 0x4b3a95
mov eax, dword [esi + 0x74]
cmp dword [eax + 8], 0
je 0x4b3b73
lea ecx, [esp + 0x28]
call fcn.004aa470
lea ecx, [esp + 0x98]
call fcn.004aa470
lea ecx, [esp + 0x60]
call fcn.004aa470
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b3b43
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b3b43
mov edx, dword [esp + 0x20]
push 4
push edx
call fcn.004a0e60
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b3b63
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b3b63
mov edx, dword [esp + 0x18]
push 4
push edx
call fcn.004a0e60
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc0
ret 8
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x20]
cmp dword [eax + 0x3c], 0
setne al
mov byte [esi + 0x2c], al
test al, al
je 0x4b3baa
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 4]
cmp eax, edx
je 0x4b3baa
mov ecx, dword [eax - 4]
test ecx, ecx
js 0x4b3ba6
test cl, 2
je 0x4b3ba6
mov eax, dword [eax + 4]
cmp eax, edx
jne 0x4b3b91
jmp 0x4b3baa
mov byte [esi + 0x2c], 0
mov eax, dword [edi + 8]
test eax, eax
jle 0x4b3c4a
xor ebx, ebx
mov dword [esp + 0x10], eax
jmp 0x4b3bc0
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edi, [esi + 4]
cmp ecx, 1
je 0x4b3bde
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
mov ecx, edi
call fcn.004ab410
mov ecx, dword [edi]
lea eax, [ebx + ecx + 0x10]
mov edx, dword [eax + 0x10]
cmp dword [edx + 0x3c], 0
lea edi, [eax + 0x10]
je 0x4b3c3c
mov eax, edx
add eax, 0x34
mov eax, dword [eax]
cmp eax, 1
je 0x4b3c03
mov ecx, edi
call fcn.004842c0
mov ecx, dword [edi]
mov ebp, dword [ecx + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
add eax, 0x34
cmp edx, 1
je 0x4b3c1c
mov ecx, edi
call fcn.004842c0
cmp ebp, dword [edi]
je 0x4b3c3c
cmp dword [ebp - 4], 0
jne 0x4b3c37
push ebp
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004aafd0
mov ebp, dword [eax]
jmp 0x4b3c08
mov ebp, dword [ebp + 4]
jmp 0x4b3c08
add ebx, 0x14
sub dword [esp + 0x10], 1
jne 0x4b3bc0
mov esi, dword [esi + 0x58]
lea ecx, [esp + 0x28]
call fcn.004aa470
lea ecx, [esp + 0x98]
call fcn.004aa470
lea ecx, [esp + 0x60]
call fcn.004aa470
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b3c8b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b3c8b
mov edx, dword [esp + 0x20]
push 4
push edx
call fcn.004a0e60
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b3cab
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b3cab
mov edx, dword [esp + 0x18]
push 4
push edx
call fcn.004a0e60
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8