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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d3b48
sub esp, 0x60
mov ebx, dword [esp + 0x6c]
inc ebx
mov ebp, dword [esp + 0x70]
cmp ebp, ebx
jb 0x4d336c
mov eax, dword [esp + 0x68]
mov ecx, ebp
jmp 0x4d339e
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [ebx + eax - 1], 0x22
movzx ebp, byte [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
jmp 0x4d33c6
mov dword [esp + 0x24], ebx
mov ebx, edi
mov edi, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ebx
cmp edx, edi
jle 0x4d3a15
jbe 0x4d3b3e
mov dword [esp + 0x2c], edi
movzx esi, byte [esi + edi]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jae 0x4d3703
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
lea ebx, [0x68bf40]
movzx ebx, byte [esi + ebx]
test bl, bl
jne 0x4d341a
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4d3427
lea ebx, [0x68bec0]
movzx esi, byte [ebx + esi]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d342d
lea esi, [edi + 1]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
jmp 0x4d33ba
lea ebx, [0x68bec0]
mov esi, dword [esp + 0x24]
cmp esi, edi
ja 0x4d3b35
sub edi, esi
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + edi]
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and esi, edi
mov edi, dword [esp + 0x74]
add esi, edi
cmp ecx, ebp
jae 0x4d3495
mov dword [esp + 0x5c], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x560b60]
mov dword [esp + 0x10], ecx
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], eax
lea edx, [eax + ebx]
mov dword [esp], edx
mov dword [esp + 4], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.004617e0
movzx eax, byte [esp + 0x21]
cmp al, 0xa
ja 0x4d357e
cmp al, 9
jne 0x4d3520
mov ebx, dword [esp + 0x38]
add ebx, 2
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jb 0x4d34e2
mov eax, dword [esp + 0x58]
mov ecx, ebp
jmp 0x4d3514
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov word [ebx + eax - 2], 0x745c
jmp 0x4d36ea
cmp al, 0xa
jne 0x4d3644
mov ebx, dword [esp + 0x38]
add ebx, 2
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jb 0x4d3540
mov eax, dword [esp + 0x58]
mov ecx, ebp
jmp 0x4d3572
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov word [ebx + eax - 2], 0x6e5c
jmp 0x4d36ea
cmp al, 0xd
jne 0x4d35d8
mov ebx, dword [esp + 0x38]
add ebx, 2
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jb 0x4d359a
mov eax, dword [esp + 0x58]
mov ecx, ebp
jmp 0x4d35cc
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov word [ebx + eax - 2], 0x725c
jmp 0x4d36ea
cmp al, 0x22
je 0x4d35e2
cmp al, 0x5c
jne 0x4d3644
mov ebx, dword [esp + 0x38]
add ebx, 2
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jb 0x4d35f7
mov ecx, dword [esp + 0x58]
jmp 0x4d3632
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
mov ecx, eax
movzx eax, byte [esp + 0x21]
mov byte [ebx + ecx - 2], 0x5c
mov byte [ebx + ecx - 1], al
mov eax, ecx
mov ecx, ebp
jmp 0x4d36ea
mov ecx, dword [0x69a9c4]
mov ebx, eax
shr bl, 4
movzx ebx, bl
cmp ecx, ebx
jbe 0x4d3b2e
mov ebp, dword [0x69a9c0]
and eax, 0xf
movzx ebx, byte [ebp + ebx]
cmp ecx, eax
jbe 0x4d3b29
mov esi, dword [esp + 0x38]
add esi, 6
movzx ebp, byte [ebp + eax]
mov edi, dword [esp + 0x40]
cmp edi, esi
jb 0x4d368a
mov eax, dword [esp + 0x58]
jmp 0x4d36d2
mov byte [esp + 0x23], bl
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 6
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx ebx, byte [esp + 0x23]
movzx ebp, byte [esp + 0x22]
mov edi, ecx
mov dword [esi + eax - 6], 0x3030755c
mov byte [esi + eax - 2], bl
xchg ebp, ebx
mov byte [esi + eax - 1], bl
xchg ebp, ebx
mov ecx, edi
mov ebx, esi
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 1]
mov edx, dword [esp + 0x78]
movzx ebp, byte [esp + 0x7c]
mov edi, ebx
mov ebx, esi
jmp 0x4d33ba
mov esi, edx
sub esi, edi
cmp esi, 4
jle 0x4d3711
mov esi, 4
lea ebp, [esi + edi]
cmp edx, ebp
jb 0x4d3b22
cmp edi, ebp
ja 0x4d3b19
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ecx
mov eax, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edi
mov ecx, dword [esp + 0x74]
lea edx, [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00469ab0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp eax, 0xfffd
jne 0x4d388b
cmp ecx, 1
jne 0x4d388b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
ja 0x4d3b14
sub ecx, eax
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + ecx]
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x74]
add eax, ecx
mov edi, dword [esp + 0x34]
cmp edi, ebp
jb 0x4d37aa
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
jmp 0x4d37f2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x58]
lea edx, [ecx + ebx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004617e0
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 6]
mov edx, dword [esp + 0x40]
cmp edx, ecx
jb 0x4d3826
mov ebx, dword [esp + 0x58]
jmp 0x4d3860
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, eax
mov edx, edi
mov eax, dword [esp + 0x3c]
mov dword [ebx + eax], 0x6666755c
mov word [ebx + eax + 4], 0x6466
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 1]
movzx ebp, byte [esp + 0x7c]
mov edi, ecx
mov eax, ebx
mov ebx, esi
mov ecx, edx
mov edx, dword [esp + 0x78]
jmp 0x4d33ba
cmp eax, 0x2028
je 0x4d38be
cmp eax, 0x2029
je 0x4d38be
mov ebp, dword [esp + 0x2c]
lea esi, [ecx + ebp]
mov edx, dword [esp + 0x78]
movzx ebp, byte [esp + 0x7c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
jmp 0x4d33ba
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x4d3b0b
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
sub ebx, edx
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x40]
lea edi, [esi + ebx]
neg ebx
sar ebx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x74]
add edx, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edi
jb 0x4d3906
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
jmp 0x4d394a
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x560b60]
mov dword [esp + 0x10], ecx
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x58]
lea ecx, [eax + esi]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004617e0
mov ecx, dword [0x69a9c4]
mov eax, dword [esp + 0x30]
and eax, 0xf
cmp ecx, eax
jbe 0x4d3b06
mov ebx, dword [esp + 0x38]
add ebx, 6
mov ebp, dword [0x69a9c0]
movzx ebp, byte [eax + ebp]
mov esi, dword [esp + 0x40]
cmp esi, ebx
jb 0x4d39a1
mov eax, dword [esp + 0x58]
jmp 0x4d39e0
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 6
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx ebp, byte [esp + 0x23]
mov esi, ecx
mov byte [ebx + eax - 6], 0x5c
mov dword [ebx + eax - 5], 0x32303275
xchg ebp, ecx
mov byte [ebx + eax - 1], cl
xchg ebp, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add ebp, edi
mov edx, dword [esp + 0x78]
mov ecx, esi
mov edi, ebx
mov esi, ebp
mov ebx, esi
movzx ebp, byte [esp + 0x7c]
jmp 0x4d33ba
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jb 0x4d3afd
sub edx, ebp
mov dword [esp + 0x3c], edx
lea edi, [ebx + edx]
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [esi + ebp]
cmp ecx, edi
jae 0x4d3a72
mov dword [esp + 0x5c], edx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x560b60]
mov dword [esp + 0x10], ecx
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ecx
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.004617e0
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jb 0x4d3aad
mov ecx, eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
jmp 0x4d3adf
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x560b60]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x22
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x60
ret
mov eax, ebp
mov ecx, edx
call fcn.00460fc0
call fcn.00460f60
mov eax, edx
mov ecx, ebx
call fcn.00460fc0
call fcn.00460fc0
mov eax, edi
mov ecx, ebp
call fcn.00460fc0
mov ecx, ebp
call fcn.00460f80
call fcn.00460f60
mov eax, ebx
call fcn.00460f60
mov eax, esi
mov ecx, edi
call fcn.00460fc0
mov eax, edi
mov ecx, edx
call fcn.00460f60
nop
call fcn.0045faf0
jmp fcn.004d3340