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

Disassembly:
push 0xffffffffffffffff
push 0x6f5bbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov al, byte [esp + 7]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x40], esi
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x17]
mov dword [esp + 0xa0], 1
push ecx
lea ecx, [esp + 0x48]
call fcn.004f6840
lea edx, [esp + 0x2e]
lea ecx, [esp + 0x60]
push edx
mov byte [esp + 0xa4], 2
call fcn.004f6840
lea eax, [esp + 0x2f]
lea ecx, [esp + 0x74]
push eax
mov byte [esp + 0xa4], 3
call fcn.004f6840
lea ecx, [esp + 0x16]
mov byte [esp + 0xa0], 4
push ecx
lea ecx, [esp + 0x88]
call fcn.004f6840
mov ebx, dword [0x839db4]
mov ebp, SysReAllocString
mov byte [esp + 0xa0], 5
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x4d3830
mov ecx, dword [0x839db8]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x4d3830
mov ecx, dword [esp + 0xac]
lea eax, [esi + esi*2]
shl eax, 5
add eax, ebx
cmp dword [eax + 0x28], ecx
jne 0x4d3826
mov dl, byte [esp + 0xb0]
mov cl, byte [eax + 0x24]
cmp cl, dl
jne 0x4d3826
mov cl, byte [eax + 0x25]
test cl, cl
jne 0x4d3826
mov cl, byte [eax + 0x3d]
test cl, cl
je 0x4d3826
mov eax, dword [eax + 0x10]
test eax, eax
jl 0x4d3826
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x4d37fb
xor ecx, ecx
jmp 0x4d3800
mov ecx, dword [edi + 0x28]
sub ecx, edx
cmp eax, ecx
jae 0x4d381a
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4d3826
mov edx, dword [edi + 0x28]
sub edx, ecx
cmp eax, edx
jae 0x4d3826
cmp byte [ecx + eax], 0
je 0x4d3826
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
cmp eax, ebp
jge 0x4d3826
mov ebp, eax
inc esi
mov dword [esp + 0x10], esi
jmp 0x4d3794
mov dword [esp + 0x18], ebp
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x10], ebp
je 0x4d398b
mov ecx, dword [0x839db8]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jae 0x4d398b
mov ecx, dword [esp + 0xac]
lea esi, [ebp + ebp*2]
shl esi, 5
add esi, ebx
cmp dword [esi + 0x28], ecx
jne 0x4d3985
mov dl, byte [esp + 0xb0]
mov al, byte [esi + 0x24]
cmp al, dl
jne 0x4d3985
mov al, byte [esi + 0x25]
test al, al
jne 0x4d3985
mov al, byte [esi + 0x3d]
test al, al
je 0x4d3985
mov eax, dword [esi + 0x10]
test eax, eax
jl 0x4d3985
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x4d38ba
xor ecx, ecx
jmp 0x4d38bf
mov ecx, dword [edi + 0x28]
sub ecx, edx
cmp eax, ecx
jae 0x4d38e5
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4d3985
mov edx, dword [edi + 0x28]
sub edx, ecx
cmp eax, edx
jae 0x4d3985
cmp byte [ecx + eax], 0
je 0x4d3985
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x18]
cmp dword [ecx + eax*4], edx
jg 0x4d3985
mov edx, dword [0x71eb00]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x28]
push edx
mov dword [esp + 0x5c], eax
mov cl, byte [esi + 0x24]
lea eax, [esi + 0x14]
mov byte [esp + 0x60], cl
push 0
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], ebp
call fcn.00407c50
mov ecx, dword [0x71eb00]
lea edx, [esi + 0x2c]
push ecx
push 0
push edx
lea ecx, [esp + 0x50]
call fcn.00407c50
mov eax, dword [0x71eb00]
lea ecx, [esi + 0x50]
push eax
push 0
push ecx
lea ecx, [esp + 0x90]
call fcn.00407c50
mov edx, dword [0x71eb00]
add esi, 0x40
push edx
push 0
push esi
lea ecx, [esp + 0x80]
call fcn.00407c50
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004d47a0
mov ebp, dword [esp + 0x10]
mov ebx, dword [0x839db4]
inc ebp
jmp 0x4d3836
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4d3a63
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x1c]
test eax, eax
mov byte [esi], dl
je 0x4d39c5
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
test eax, eax
jge 0x4d39cb
xor eax, eax
lea ecx, [eax + eax*4]
shl ecx, 4
push ecx
call fcn.00652710
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.004d49a0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x40], 1
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 1
call fcn.00407e50
push 1
lea ecx, [esp + 0x78]
call fcn.00407e50
push 1
lea ecx, [esp + 0x64]
call fcn.00407e50
push 1
lea ecx, [esp + 0x48]
call fcn.00407e50
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0
call fcn.004d4970
mov eax, dword [esp + 0x20]
push eax
call fcn.00652870
add esp, 4
mov eax, esi
jmp 0x4d3d9b
mov cl, byte [esp + 0x16]
xor esi, esi
xor ebp, ebp
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov byte [esp + 0xa0], 6
test ebx, ebx
mov dword [esp + 0x10], esi
je 0x4d3b22
mov ecx, dword [0x839db8]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x4d3b22
mov cl, byte [esp + 0xb0]
lea eax, [esi + esi*2]
shl eax, 5
add eax, ebx
cmp byte [eax + 0x24], cl
jne 0x4d3b1c
mov cl, byte [eax + 0x25]
test cl, cl
je 0x4d3b1c
mov cl, byte [eax + 0x3d]
test cl, cl
je 0x4d3b1c
mov eax, dword [eax + 0x10]
test eax, eax
jl 0x4d3aff
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x4d3ae0
xor ecx, ecx
jmp 0x4d3ae5
mov ecx, dword [edi + 0x28]
sub ecx, edx
cmp eax, ecx
jae 0x4d3aff
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4d3b1c
mov edx, dword [edi + 0x28]
sub edx, ecx
cmp eax, edx
jae 0x4d3b1c
cmp byte [ecx + eax], 0
je 0x4d3b1c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ebp
call fcn.00407920
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov ebx, dword [0x839db4]
inc esi
jmp 0x4d3a83
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
push 0
push eax
mov edx, ebp
call fcn.004d59d0
mov esi, dword [esp + 0x34]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ebp, ebp
je 0x4d3c3d
mov edx, ebx
mov eax, 0x66666667
sub edx, ebp
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jae 0x4d3c3d
mov eax, dword [esi + edi*4]
mov ebx, dword [0x839db4]
lea ecx, [ecx + ecx*4]
lea esi, [eax + eax*2]
shl ecx, 4
shl esi, 5
add esi, ebx
mov dword [ecx + ebp + 0x10], eax
mov edx, dword [0x71eb00]
push edx
lea eax, [esi + 0x14]
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
shl ecx, 4
lea ecx, [ecx + edx + 0x1c]
call fcn.00407c50
mov eax, dword [0x71eb00]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x2c]
push 0
push ecx
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, edx
call fcn.00407c50
mov edx, dword [0x71eb00]
lea eax, [esi + 0x50]
push edx
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
shl ecx, 4
lea ecx, [ecx + edx + 0x40]
call fcn.00407c50
mov eax, dword [0x71eb00]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
add esi, 0x40
push 0
lea ecx, [eax + eax*4]
push esi
shl ecx, 4
lea ecx, [ecx + edx + 0x30]
call fcn.00407c50
mov esi, dword [esp + 0x34]
inc edi
test esi, esi
jne 0x4d3c20
xor eax, eax
jmp 0x4d3c29
mov eax, dword [esp + 0x38]
sub eax, esi
sar eax, 2
cmp edi, eax
jne 0x4d3c2f
xor edi, edi
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4d3b3f
mov esi, dword [esp + 0xa8]
mov al, byte [esp + 0x1c]
test ebp, ebp
mov byte [esi], al
jne 0x4d3c52
xor edx, edx
jmp 0x4d3c65
sub ebx, ebp
mov eax, 0x66666667
imul ebx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test edx, edx
mov eax, edx
jge 0x4d3c6d
xor eax, eax
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.00652710
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov dword [esi + 4], eax
add esp, 4
mov esi, eax
cmp ebp, ecx
mov ebx, ecx
mov dword [esp + 0x18], esi
je 0x4d3cc0
xor edi, edi
mov dword [esp + 0x94], esi
cmp esi, edi
mov byte [esp + 0xa0], 7
je 0x4d3cb0
push ebp
mov ecx, esi
call fcn.004d3dc0
add ebp, 0x50
add esi, 0x50
cmp ebp, ebx
mov dword [esp + 0x18], esi
jne 0x4d3c95
jmp 0x4d3cc2
xor edi, edi
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], 1
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
call fcn.00652870
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
push 1
mov dword [esp + 0x40], edi
mov byte [esp + 0xa4], 1
call fcn.00407e50
push 1
lea ecx, [esp + 0x78]
call fcn.00407e50
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x4d3d36
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d3d2d
cmp al, 0xff
je 0x4d3d2d
dec al
mov byte [ecx], al
jmp 0x4d3d36
push ecx
call fcn.00652870
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], edi
cmp ecx, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
je 0x4d3d66
mov al, byte [ecx - 1]
test al, al
je 0x4d3d5c
cmp al, 0xff
je 0x4d3d5c
dec al
mov byte [ecx - 1], al
jmp 0x4d3d66
dec ecx
push ecx
call fcn.00652870
add esp, 4
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x4d3d90
mov ecx, esi
call fcn.004d3610
add esi, 0x50
cmp esi, ebx
jne 0x4d3d7e
mov esi, dword [esp + 0x20]
push esi
call fcn.00652870
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc