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

Disassembly:
push 0xffffffffffffffff
push 0x5c9342
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0xbc]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], ebp
cmp esi, eax
jle 0x4d3789
test eax, eax
jne 0x4d3f72
mov eax, dword [ebp]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
sub edx, eax
je 0x4d3f72
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
sub eax, ecx
je 0x4d3f72
push ebx
lea eax, [esi - 1]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
push edi
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x8c]
mov esi, ecx
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
mov dword [esp + 0x5c], eax
je 0x4d37ee
mov edx, dword [ebp + 0x88]
push eax
push edx
lea ecx, [ebp + 0x1c]
call fcn.004d1ad0
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x104]
mov eax, dword [eax + 0x1c]
push eax
call dword [0x5da8b0]
push eax
call fcn.00596988
mov edi, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], 0x5f544c
lea ecx, [ebp + 0x90]
mov dword [esp + 0xbc], ebx
push ecx
call dword [0x5da224]
push eax
lea ecx, [esp + 0x4c]
call fcn.00597595
mov edx, dword [edi]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x24]
mov edi, esi
cmp eax, ebx
mov dword [esp + 0x1c], edi
jne 0x4d3857
xor edi, edi
mov dword [esp + 0x1c], edi
cmp edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
jge 0x4d387e
lea esi, [ebp + 0x1c]
push edi
mov ecx, esi
call fcn.004c78d0
test eax, eax
mov dword [esp + 0x10], eax
je 0x4d387e
mov ebx, dword [eax]
jmp 0x4d3897
lea ecx, [edi - 1]
lea esi, [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.004c78d0
test eax, eax
je 0x4d389b
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
add ebx, ecx
mov dword [esp + 0x14], ebx
mov edx, dword [ebp + 0xd0]
xor eax, eax
sub edi, edx
mov edx, dword [esp + 0x78]
imul edi, dword [ebp + 0x84]
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x84], edi
cmp ebx, eax
mov dword [esp + 0x88], edx
jg 0x4d3e7b
mov ebx, dword [esp + 0x14]
jmp 0x4d38e5
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
push eax
push ebx
push ecx
mov ecx, ebp
call fcn.004d2da0
mov edi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
sub edi, ebx
inc edi
test eax, eax
je 0x4d3911
push 0xffffffffffffffff
push 0
lea ecx, [eax + 4]
call fcn.0058d97e
jmp 0x4d396a
push 0x18
call fcn.0058ecf8
mov ebx, eax
add esp, 4
mov dword [esp + 0x50], ebx
test ebx, ebx
mov byte [esp + 0xbc], 1
je 0x4d3950
lea ebp, [ebx + 4]
mov ecx, ebp
call fcn.0058d451
push 0x20
push 0
mov ecx, ebp
mov byte [esp + 0xc4], 2
call fcn.0058d97e
mov ebp, dword [esp + 0x18]
jmp 0x4d3952
xor ebx, ebx
push ebx
mov ecx, esi
mov byte [esp + 0xc0], 0
mov dword [esp + 0x14], ebx
call fcn.004d1960
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ecx], ebx
lea ecx, [ebp + 0x58]
call fcn.004c79a0
mov esi, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x58], 0
jle 0x4d39b1
shl edi, 2
push edi
call fcn.0058ecf8
mov edx, eax
mov ecx, edi
mov dword [esp + 0x5c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [eax + 0xc]
cmp edi, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], 0xffffffff
jle 0x4d3e25
mov edx, dword [esp + 0x18]
push esi
lea ecx, [edx + 0x58]
call fcn.004c79f0
test eax, eax
mov dword [esp + 0x50], eax
je 0x4d39f8
mov eax, dword [eax]
cmp eax, edi
jae 0x4d39f8
sub eax, ebx
inc eax
mov edi, eax
jmp 0x4d39fb
sub edi, ebx
inc edi
xor ebx, ebx
mov dword [esp + 0x44], edi
cmp esi, ebx
je 0x4d3a19
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004d2d10
lea eax, [edi - 1]
mov dword [esp + 0x24], ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
jle 0x4d3ded
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
lea ebx, [edx + eax*2]
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x18]
mov ax, word [ebx]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4d3a62
cmp ax, 0x30
jne 0x4d3a62
mov dword [esp + 0x34], 0xd8
mov ecx, dword [esp + 0x10]
push ebp
add ecx, 4
mov dword [esp + 0x6c], ecx
mov eax, dword [ecx + 8]
push eax
call fcn.0058d4b1
mov eax, dword [esp + 0x34]
cmp ax, 9
jne 0x4d3a9b
mov ecx, dword [esi + 0xe8]
mov eax, ebp
cdq
idiv ecx
inc eax
imul eax, ecx
sub eax, ebp
mov dword [esp + 0x24], eax
jmp 0x4d3c5a
cmp ax, 0x1f
je 0x4d3ac0
cmp ax, 0xe000
jae 0x4d3ac0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
mov edx, dword [ecx + 4]
push 1
push eax
push edx
jmp 0x4d3c50
mov eax, dword [0x7193d4]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x4d3b30
push 0x3c
call fcn.0058ecf8
mov esi, eax
add esp, 4
mov dword [esp + 0x60], esi
test esi, esi
je 0x4d3b13
mov dword [esi], 0x5e1d8c
lea ecx, [esi + 4]
mov byte [esp + 0xbc], 4
call fcn.00512220
lea ecx, [esi + 0x20]
mov byte [esp + 0xbc], 5
call fcn.00512220
mov dword [esi], 0x5e1d88
jmp 0x4d3b15
xor esi, esi
push 0x45c160
mov byte [esp + 0xc0], 0
mov dword [0x7193d4], esi
call fcn.005732b4
add esp, 4
mov ecx, dword [0x7193d4]
push ebx
call fcn.00513030
mov ecx, eax
test ecx, ecx
je 0x4d3c3c
mov al, byte [ecx + 0x24]
test al, al
je 0x4d3b5d
mov edx, dword [esp + 0x20]
inc edx
add ebx, 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0x44]
dec eax
cmp eax, 3
ja case.default.0x4d3b6a
jmp dword [eax*4 + 0x4d3f8c]
mov eax, dword [ecx]
lea edx, [esp + 0x90]
push edx
call dword [eax + 4]
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 6
call fcn.004cd910
test eax, eax
je 0x4d3bc3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x90]
push eax
call fcn.004cd910
push eax
lea ecx, [esp + 0x98]
call fcn.0050cd90
mov ecx, dword [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [0x5da238]
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 0
call fcn.0050bd60
jmp case.default.0x4d3b6a
mov eax, dword [ecx + 0x48]
test eax, eax
je case.default.0x4d3b6a
mov eax, dword [ecx + 0x54]
add eax, 4
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x28], ecx
jmp 0x4d3c5a
mov eax, dword [ecx + 0x48]
test eax, eax
je case.default.0x4d3b6a
mov eax, dword [ecx + 0x54]
add eax, 4
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 0x58]
add edx, 2
mov dword [esp + 0x28], edx
jmp 0x4d3c5a
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je case.default.0x4d3b6a
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edx + 4]
push edx
lea edx, [esp + 0xb0]
push edx
call dword [eax]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
jmp 0x4d3c5a
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
mov eax, dword [edx + 4]
push 1
push ecx
push eax
call dword [0x5da238]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
add ebp, eax
add edx, 0xfffffffb
mov edi, dword [ecx + 0xc]
cmp ebp, edx
mov dword [esp + 0x60], edi
jl 0x4d3dad
cmp edi, 1
jle 0x4d3dad
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
lea ebp, [eax + 0x1c]
mov ecx, ebp
call fcn.004c78d0
mov ebx, eax
test ebx, ebx
je 0x4d3cab
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 4]
call fcn.0058d97e
jmp 0x4d3cfa
push 0x18
call fcn.0058ecf8
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
test esi, esi
mov byte [esp + 0xbc], 7
je 0x4d3ce6
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0058d451
push 0x20
push 0
mov ecx, ebx
mov byte [esp + 0xc4], 8
call fcn.0058d97e
jmp 0x4d3ce8
xor esi, esi
push esi
mov ecx, ebp
mov byte [esp + 0xc0], 0
mov ebx, esi
call fcn.004d1960
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add ecx, edx
xor ebp, ebp
mov dword [ebx], ecx
test eax, eax
jle 0x4d3d89
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, dword [eax]
inc esi
cmp esi, edi
jge 0x4d3d89
mov edx, dword [eax + 8]
lea ecx, [esi - 1]
mov dword [esp + 0x54], edx
mov eax, dword [edx + esi*4 - 4]
mov dword [esp + 0x40], eax
lea eax, [edi - 1]
cmp ecx, eax
jge 0x4d3d6c
sub eax, ecx
lea ebp, [ebx + 4]
lea edi, [edx + ecx*4]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
call fcn.0058d4b1
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4d3d42
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov ebp, dword [edx + edi*4 - 4]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
sub edi, esi
sub ebp, eax
mov eax, dword [esp + 0x38]
push edi
push esi
mov dword [ebx], eax
call fcn.0058d4d8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
dec ecx
sub eax, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov ebx, eax
jmp 0x4d3dce
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004d17c0
add esp, 4
test eax, eax
je 0x4d3dce
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea ecx, [eax + edx + 1]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
inc ecx
add ebx, 2
lea eax, [edx - 1]
mov dword [esp + 0x20], ecx
cmp ecx, eax
mov dword [esp + 0x30], ebx
jl 0x4d3a3f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x84]
test ecx, ecx
jne 0x4d3e05
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x84], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
lea ebx, [edx + eax - 1]
cmp edi, ebx
mov dword [esp + 0x14], ebx
jg 0x4d39d6
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4d3e47
mov ecx, dword [esp + 0x10]
push ebp
add ecx, 4
mov eax, dword [ecx + 8]
push eax
call fcn.0058d4b1
push esi
call fcn.0058ed21
add esp, 4
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
inc eax
lea esi, [ebx + 0x1c]
lea edi, [edx + 1]
push eax
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
call fcn.004c78d0
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10]
cmp edi, eax
jle 0x4d38dd
mov ebp, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jl 0x4d3ec9
mov ebx, dword [ebp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jge 0x4d3ecd
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004c78d0
mov edi, eax
test edi, edi
je 0x4d3eb4
lea ecx, [edi + 4]
call fcn.0058d484
push edi
call fcn.0058ed21
add esp, 4
mov edi, dword [esp + 0x1c]
push 1
push edi
mov ecx, esi
call fcn.0058d4d8
cmp edi, dword [ebp + 0x24]
jl 0x4d3e91
jmp 0x4d3ecd
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.004d1b00
push eax
mov ecx, esi
mov dword [ebp + 0x88], eax
call fcn.004c78d0
mov ecx, dword [eax]
sub edi, ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebp + 0x8c], edi
mov edi, dword [ebp + 0xd0]
sub ebx, edi
pop edi
inc ebx
mov eax, ebx
pop ebx
imul eax, dword [ebp + 0x84]
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x4d3f1b
mov dword [esp + 0x84], ecx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
mov eax, dword [ebp + 0x104]
mov ecx, dword [esi + 4]
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [0x5da8d4]
mov eax, dword [ebp + 0x104]
lea ecx, [esp + 0x78]
push 1
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [0x5da8dc]
mov dword [esp + 0x40], 0x5f1014
lea ecx, [esp + 0x40]
mov dword [esp + 0xb4], 9
call fcn.005975ec
mov ecx, dword [esp + 0xac]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret 4