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

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0xf8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov dword [esp + 4], eax
test byte [eax + 0x50], 1
je 0x4b3e5b
xor eax, eax
add esp, 0x64
ret
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
lea eax, [eax + eax*8]
shl eax, 3
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x20], eax
add eax, 8
add eax, ebp
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x14]
jne 0x4b4421
cmp dword [ecx + 0x44], 0
jne 0x4b4421
mov eax, dword [ecx + 0x3c]
push edi
mov edi, dword [ecx + 0x20]
test eax, eax
je 0x4b3eb4
cmp dword [ebx + 0x3c], 0
jne 0x4b3ec7
test eax, eax
je 0x4b3eb4
cmp dword [eax + 0x10], 0
jne 0x4b3ec7
mov edx, dword [ebx + 4]
mov dword [esp + 0x28], edx
test edx, 0x100
je 0x4b3ed0
test eax, eax
je 0x4b3ed0
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
push esi
mov esi, dword [edi]
test esi, esi
je 0x4b3f6b
mov ebx, dword [ecx + 4]
test bl, 1
jne 0x4b3f6b
mov edx, dword [esp + 0x84]
test eax, eax
je 0x4b3efc
cmp dword [ebp], 1
jg 0x4b3f6b
test edx, edx
jne 0x4b3f6b
mov ebp, dword [esp + 0x7c]
mov ebp, dword [ebp + 0x30]
test ebp, ebp
je 0x4b3f0d
cmp dword [ecx + 0x30], 0
jne 0x4b3f6b
test edx, edx
je 0x4b3f17
cmp dword [ecx + 0x30], 0
jne 0x4b3f6b
test eax, eax
je 0x4b3f36
mov edi, dword [esp + 0x7c]
cmp dword [edi + 0x24], 0
mov edi, dword [ecx + 0x20]
jne 0x4b3f6b
test eax, eax
je 0x4b3f36
mov eax, dword [esp + 0x7c]
test byte [eax + 4], 1
jne 0x4b3f6b
test ebx, 0x2000
jne 0x4b3f6b
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
je 0x4b3f75
mov dword [esp + 0x1c], 1
cmp esi, 1
jg 0x4b3f6b
test edx, edx
jne 0x4b3f6b
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4b3f6b
mov ebx, dword [esp + 0x2c]
test bl, 1
je 0x4b3f79
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
mov ebx, dword [esp + 0x2c]
cmp dword [ecx + 0x34], 0
lea esi, [ecx + 0x34]
je 0x4b4036
cmp dword [ecx + 0x30], 0
jne 0x4b3f6b
test edx, edx
jne 0x4b3f6b
test bl, 1
jne 0x4b3f6b
cmp dword [esp + 0x1c], edx
jg 0x4b3f6b
jmp 0x4b3fa0
test byte [ecx + 4], 9
jne 0x4b3f6b
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x4b3fb2
cmp byte [ecx], 0x87
jne 0x4b3f6b
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x4b3f6b
cmp dword [ecx + 0x44], 0
jne 0x4b3f6b
mov ecx, edx
test ecx, ecx
jne 0x4b3fa0
test ebp, ebp
je 0x4b3fe2
mov edx, dword [ebp]
test edx, edx
jle 0x4b3fe2
lea eax, [ebp + 0x18]
cmp word [eax], 0
je 0x4b3f6b
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x4b3fd4
test ebx, 0x2000
jne 0x4b3f6b
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jle 0x4b403a
cmp dword [ebx + 0x64], 0x1f4
jg 0x4b3f6b
mov eax, dword [ebx + 0x28]
mov ebp, dword [esp + 0x14]
cdq
add eax, 1
adc edx, 0
shld edx, eax, 2
push edx
shl eax, 2
push eax
push ebp
call fcn.004e9970
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b403e
mov ecx, dword [ebx + 0x28]
mov dword [eax], ecx
jmp 0x4b403e
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push 0
push 0
push 0
mov eax, dword [edi + 8]
push 0x15
push ebx
mov dword [ebx + 0xf8], eax
call fcn.004e03b0
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov dword [ebx + 0xf8], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4b407e
push eax
push ebp
call fcn.004e9770
add esp, 8
mov eax, dword [edi + 8]
test eax, eax
je 0x4b408f
push eax
push ebp
call fcn.004e9770
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4b40a0
push eax
push ebp
call fcn.004e9770
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov eax, dword [esi]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4b419b
mov ecx, dword [esp + 0x7c]
jmp 0x4b40d4
mov ebp, dword [esp + 0x14]
mov eax, dword [ecx + 0x34]
mov edi, dword [edi + 0x10]
mov ebx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
push 0
push ecx
push ebp
mov dword [eax + 0x10], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
call fcn.0050c940
mov ecx, dword [esp + 0x88]
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [ecx + 0x3c], esi
mov esi, dword [esp + 0x14]
mov dword [ecx + 0x30], ebx
mov ebx, dword [esp + 0x78]
mov byte [ecx], 0x87
mov dword [eax + 0x10], edi
test ebp, ebp
jne 0x4b413e
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x34], eax
jmp 0x4b4182
inc dword [ebx + 0x64]
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b416e
cmp byte [esi + 0x57], 0
jne 0x4b416e
push eax
push dword [esp + 0x84]
push ebp
push ebx
call fcn.004d9690
mov ecx, dword [esp + 0x8c]
add esp, 0x10
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x34], eax
test eax, eax
je 0x4b417c
mov dword [eax + 0x38], ebp
mov dword [ebp + 0x38], ecx
mov dword [ecx + 0x34], ebp
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4b40d0
jmp 0x4b419f
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b41b1
push eax
push esi
call fcn.004e9770
add esp, 8
cmp byte [esi + 0x57], 0
je 0x4b41cb
mov ebp, dword [esp + 0x2c]
mov eax, 1
pop esi
mov dword [edi + 0x14], ebp
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4b41ff
mov eax, dword [ecx + 0x18]
cmp eax, 1
jne 0x4b41f4
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4b41e3
mov eax, ebx
push ecx
push fcn.004ea860
push eax
call fcn.00503d10
add esp, 0xc
jmp 0x4b41f8
dec eax
mov dword [ecx + 0x18], eax
mov dword [edi + 0x10], 0
mov eax, dword [esp + 0x7c]
mov ebx, eax
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], eax
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], ecx
mov edi, dword [esi]
mov dword [esp + 0x3c], edi
cmp ebx, eax
jne 0x4b4235
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x24]
mov byte [esp + 0x13], al
cmp edi, 1
jle 0x4b4268
mov eax, dword [esp + 0x80]
inc eax
push eax
lea eax, [edi - 1]
push eax
push ecx
push dword [esp + 0x84]
call fcn.0050d910
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4b43ea
mov dword [ebx + 0x20], ecx
test edi, edi
jle 0x4b42c3
mov ebx, dword [esp + 0x28]
lea ebp, [esi + 8]
add ebx, 8
mov dword [esp + 0x34], edi
add ebx, ecx
lea esp, [esp]
push dword [ebx + 0x34]
push dword [esp + 0x18]
call fcn.004fc690
push 0x48
mov ecx, 0x12
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x2c]
push 0
push ebp
mov dword [esp + 0x38], eax
call sub.MSVCRT.dll_memset
add esp, 0x14
add ebx, 0x48
add ebp, 0x48
dec dword [esp + 0x34]
jne 0x4b4280
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x13]
mov byte [ecx + esi + 0x2c], al
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x4b430c
test dword [ebx + 4], 0x400000
jne 0x4b430c
xor ecx, ecx
cmp dword [edx], ecx
jle 0x4b4302
lea eax, [edx + 0x18]
lea esp, [esp]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x4b42f0
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x30], edx
mov dword [ebp + 0x30], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x24], 0
test edx, edx
jle 0x4b432b
push dword [esp + 0x24]
push ecx
call fcn.0050d000
add esp, 8
test ecx, ecx
je 0x4b4355
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4b4352
push eax
push ecx
push 0x2c
push dword [esp + 0x84]
call fcn.005016d0
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov dword [ebx + 0x24], eax
jmp 0x4b4355
mov dword [ebx + 0x24], ecx
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x4b4392
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push ebx
push eax
mov dword [esp + 0x5c], edx
call fcn.00529bd0
add esp, 0xc
mov eax, dword [ebp + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4b43ae
mov dword [ebx + 0x3c], eax
mov dword [ebp + 0x3c], 0
test edi, edi
jle 0x4b43d0
mov eax, dword [esp + 0x28]
add eax, 8
add esi, eax
jmp 0x4b43c0
push esi
push ebx
call fcn.004d7490
add esp, 8
add esi, 0x48
dec edi
jne 0x4b43c0
mov ebx, dword [ebx + 0x34]
mov ebp, dword [ebp + 0x34]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebp
test ebx, ebx
jne 0x4b4211
push dword [esp + 0x78]
lea eax, [esp + 0x5c]
push eax
call fcn.004de8f0
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00521300
push ebx
push dword [esp + 0x28]
call fcn.0050c8f0
add esp, 0x18
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret