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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x78]
push ebp
xor ebp, ebp
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
cmp dword [ebx], ebp
jle 0x4f0da3
mov edx, dword [esp + 0x7c]
lea ecx, [ebx + 8]
mov dword [esp + 0x14], ecx
push esi
jmp 0x4f0ba0
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
cmp byte [ecx], 0xb1
jne 0x4f0bb2
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x4f0bb7
mov eax, 1
cmp eax, edx
jne 0x4f0d71
mov eax, dword [ecx + 0x14]
push 0
push 0x4c
push dword [edi]
mov dword [esp + 0x28], eax
call fcn.004e9850
mov esi, eax
add esp, 0xc
mov ebx, esi
test esi, esi
jne 0x4f0be0
lea esi, [esp + 0x2c]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4f0c0d
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push 0xb4
push dword [edi]
call fcn.004ec290
push eax
push dword [edi]
call fcn.004f05a0
add esp, 0x18
mov dword [esi + 0x1c], eax
mov byte [esi], 0x8a
mov dword [esi + 4], 0x200
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
inc dword [edi + 0x64]
mov eax, dword [edi + 0x64]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov word [esi + 2], ax
mov eax, dword [edi]
test eax, eax
je 0x4f0c5c
push 0
push 0x50
push eax
call fcn.004e9850
add esp, 0xc
mov edi, eax
jmp 0x4f0cac
cmp dword [0x606158], 0
je 0x4f0c99
mov eax, dword [0x6107f0]
test eax, eax
je 0x4f0c78
push eax
call dword [0x6061a8]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x50
call fcn.004cd7c0
mov eax, dword [0x6107f0]
add esp, 8
test eax, eax
je 0x4f0ca8
push eax
call dword [0x6061b0]
jmp 0x4f0ca5
push 0x50
call dword [0x606178]
mov dword [esp + 0x14], eax
add esp, 4
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4f0cbd
push 0x50
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x7c]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4f0d2a
xor eax, eax
lea edx, [esp + 0x2c]
cmp esi, edx
setne al
push eax
push esi
push ecx
call fcn.004a7e40
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], 0
test ebx, ebx
je 0x4f0d45
test ebp, ebp
je 0x4f0d43
mov byte [ebx], 0x87
mov dword [ebx + 0x34], ebp
mov ebp, ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x84]
inc eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
add ecx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [ebx]
jl 0x4f0ba0
jmp 0x4f0d91
mov ecx, 0x573a2c
cmp eax, 1
jg 0x4f0d80
mov ecx, 0x5653d3
push edx
push ecx
push eax
push str.IN_...__element_has__d_term_s___expected__d
push edi
call fcn.004ebb90
add esp, 0x14
pop esi
test ebp, ebp
je 0x4f0da3
cmp dword [ebp + 0x34], 0
je 0x4f0da3
or dword [ebp + 4], 0x400
push ebx
push dword [edi]
call fcn.004b0f30
add esp, 8
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x68
ret