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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov dword [edi], eax
lea eax, [edi + 0x88]
push ecx
push ebx
mov dword [edi + 4], ecx
mov dword [eax], 0
mov dword [edi + 0x8c], eax
call fcn.004b4cf0
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x4d71a9
push esi
push ebx
call fcn.004b5b80
add esp, 8
test eax, eax
mov dword [esp + 8], eax
jne 0x4d71a9
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 0x20]
push ebp
lea ebp, [eax + esi]
lea ecx, [eax + 0xf]
cmp ecx, ebp
mov dword [esp + 0x1c], ebp
ja 0x4d70c7
xor edx, edx
mov dh, byte [eax]
add eax, 2
xor ecx, ecx
add eax, 2
add eax, 2
add eax, 2
add eax, 2
mov dl, byte [eax - 9]
add eax, 2
add eax, 2
add eax, 1
mov dword [esp + 0x10], eax
mov dword [edi + 8], edx
mov ch, byte [eax - 0xd]
xor edx, edx
mov cl, byte [eax - 0xc]
mov dword [edi + 0xc], ecx
mov dh, byte [eax - 0xb]
xor ecx, ecx
mov dl, byte [eax - 0xa]
mov dword [edi + 0x10], edx
mov ch, byte [eax - 9]
movsx edx, cx
movzx ecx, byte [eax - 8]
or edx, ecx
mov dword [edi + 0x14], edx
xor edx, edx
mov dh, byte [eax - 7]
movsx ecx, dx
movzx edx, byte [eax - 6]
or ecx, edx
mov dword [edi + 0x18], ecx
xor ecx, ecx
mov ch, byte [eax - 5]
movsx edx, cx
movzx ecx, byte [eax - 4]
or edx, ecx
mov dword [edi + 0x1c], edx
xor edx, edx
mov dh, byte [eax - 3]
movsx ecx, dx
movzx edx, byte [eax - 2]
or ecx, edx
mov dword [edi + 0x20], ecx
movzx ecx, byte [eax - 1]
mov edx, ecx
and edx, 4
mov dword [esp + 0x24], ecx
mov dword [edi + 0x24], ecx
mov dword [esp + 0x20], edx
jne 0x4d6e5e
add eax, 2
cmp eax, ebp
ja 0x4d70c7
movzx esi, byte [eax - 1]
xor edx, edx
mov dh, byte [eax - 2]
mov dword [esp + 0x10], eax
movsx edx, dx
or edx, esi
mov dword [edi + 0x28], edx
test cl, cl
jns 0x4d6e87
push edi
lea eax, [esp + 0x14]
push 0x53e28c
push eax
mov ebx, ebp
call fcn.004d6620
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4d7181
mov eax, dword [esp + 0x10]
add eax, 3
cmp eax, ebp
ja 0x4d70c7
movzx ecx, byte [eax - 1]
xor edx, edx
mov dh, byte [eax - 3]
mov dl, byte [eax - 2]
shl edx, 8
or edx, ecx
mov dword [esp + 0x18], edx
jbe 0x4d6f8d
mov ecx, eax
add eax, edx
cmp eax, ebp
ja 0x4d70c7
mov dword [esp + 0x10], eax
lea ecx, [ecx]
lea eax, [ecx + 4]
cmp eax, dword [esp + 0x10]
ja 0x4d6f89
xor eax, eax
mov ah, byte [ecx]
add ecx, 2
mov al, byte [ecx - 1]
mov esi, eax
cmp esi, 4
jb 0x4d6f89
cmp esi, edx
ja 0x4d6f89
xor eax, eax
mov ah, byte [ecx]
lea ebp, [esi + ecx - 2]
add ecx, 2
mov al, byte [ecx - 1]
sub eax, 1
je 0x4d6f51
sub eax, 1
je 0x4d6f0c
sub eax, 1
jne 0x4d6f73
lea edx, [edi + 0x58]
jmp 0x4d6f54
lea edx, [ecx + 0x20]
cmp edx, ebp
ja 0x4d6f73
xor eax, eax
mov ah, byte [ecx + 0xa]
add ecx, 0xc
add ecx, 2
add ecx, 2
movsx edx, ax
movzx eax, byte [ecx - 5]
or edx, eax
mov dword [edi + 0x2c], edx
xor edx, edx
mov dh, byte [ecx - 4]
movsx eax, dx
movzx edx, byte [ecx - 3]
or eax, edx
mov dword [edi + 0x30], eax
xor eax, eax
mov ah, byte [ecx - 2]
movsx edx, ax
movzx eax, byte [ecx - 1]
or edx, eax
mov dword [edi + 0x34], edx
jmp 0x4d6f73
lea edx, [edi + 0x54]
mov eax, dword [esp + 0x14]
push edx
push eax
lea eax, [esi - 4]
mov ebx, ecx
call fcn.004d6be0
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4d71a8
mov edx, dword [esp + 0x18]
sub edx, esi
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jne 0x4d6ec0
mov eax, dword [esp + 0x10]
lea esi, [eax + 1]
cmp esi, ebp
ja 0x4d70c7
movzx ebx, byte [eax]
lea ecx, [esi + ebx*2]
cmp ecx, ebp
mov dword [edi + 0x68], ebx
ja 0x4d70c7
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0
push ebx
push 0
push 4
push eax
call fcn.004b6b60
add esp, 0x18
cmp dword [esp + 0xc], 0
mov dword [edi + 0x6c], eax
jne 0x4d7181
xor eax, eax
test ebx, ebx
jbe 0x4d6ff4
xor ecx, ecx
mov ch, byte [esi]
add esi, 2
add eax, 1
movsx edx, cx
movzx ecx, byte [esi - 1]
or edx, ecx
cmp eax, ebx
mov ecx, dword [edi + 0x6c]
mov dword [ecx + eax*4 - 4], edx
jb 0x4d6fd6
lea edx, [esi + 8]
cmp edx, ebp
ja 0x4d70c7
movzx eax, byte [esi]
mov dword [edi + 0x70], eax
movzx ecx, byte [esi + 1]
mov dword [edi + 0x74], ecx
add esi, 1
xor edx, edx
mov dh, byte [esi + 1]
add esi, 3
xor eax, eax
add esi, 2
xor ebx, ebx
add esi, 2
mov ecx, esi
mov dl, byte [esi - 5]
mov dword [edi + 0x44], edx
mov ah, byte [esi - 4]
mov edx, dword [esp + 0x2c]
mov al, byte [esi - 3]
mov dword [edi + 0x38], eax
mov bh, byte [esi - 2]
lea eax, [esp + 0xc]
push eax
push 0
mov bl, byte [esi - 1]
mov dword [edi + 0x78], ebx
sub ecx, dword [edx + 0x20]
push ebx
add ecx, dword [esp + 0x3c]
push 0
mov dword [edi + 0x7c], ecx
mov ecx, dword [esp + 0x24]
push 0x10
push ecx
call fcn.004b6b60
add esp, 0x18
cmp dword [esp + 0xc], 0
mov dword [edi + 0x80], eax
jne 0x4d7181
mov ecx, dword [esp + 0x24]
mov edx, ecx
and edx, 2
mov eax, 4
mov dword [esp + 0x30], edx
je 0x4d708c
mov eax, 5
cmp dword [esp + 0x20], 0
je 0x4d7096
add eax, 2
mov edx, ecx
and edx, 8
mov dword [esp + 0x24], edx
je 0x4d70a4
add eax, 1
mov edx, ecx
and edx, 0x10
mov dword [esp + 0x1c], edx
je 0x4d70b2
add eax, 1
and ecx, 0x20
mov dword [esp + 0x18], ecx
je 0x4d70be
add eax, 1
imul eax, ebx
add eax, esi
cmp eax, ebp
jbe 0x4d70d4
mov dword [esp + 0xc], 8
jmp 0x4d7181
test ebx, ebx
jbe 0x4d7181
xor ebp, ebp
mov edi, edi
mov eax, dword [edi + 0x80]
add eax, ebp
cmp dword [esp + 0x30], 0
je 0x4d70fc
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
jmp 0x4d7102
movzx ecx, byte [esi]
add esi, 1
cmp dword [esp + 0x20], 0
mov dword [eax], ecx
je 0x4d711d
xor edx, edx
mov dh, byte [esi]
add esi, 2
movsx ecx, dx
movzx edx, byte [esi - 1]
or ecx, edx
jmp 0x4d7120
mov ecx, dword [edi + 0x28]
cmp dword [esp + 0x24], 0
mov dword [eax + 4], ecx
je 0x4d712d
add esi, 1
cmp dword [esp + 0x1c], 0
je 0x4d7141
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
jmp 0x4d7147
movzx ecx, byte [esi]
add esi, 1
cmp dword [esp + 0x18], 0
mov dword [eax + 8], ecx
je 0x4d7167
movzx edx, byte [esi + 2]
add esi, 3
xor ecx, ecx
mov ch, byte [esi - 3]
mov cl, byte [esi - 2]
shl ecx, 8
or ecx, edx
jmp 0x4d7172
add esi, 2
xor ecx, ecx
mov ch, byte [esi - 2]
mov cl, byte [esi - 1]
add ebp, 0x10
sub ebx, 1
mov dword [eax + 0xc], ecx
jne 0x4d70e0
mov esi, dword [esp + 0x2c]
push esi
call fcn.004b5c30
push esi
call fcn.004b4d60
mov dword [edi + 0x90], eax
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [edi + 0x94], 0
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret