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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
lea edi, [ebp - 0x3a]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3a]
mov edx, dword [0x4cd728]
call fcn.00409d98
xor eax, eax
push ebp
push 0x4d507f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx + 0x10]
adc edx, dword [ecx + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
test ebx, ebx
je 0x4d4b38
mov eax, ebx
call fcn.004a28ac
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x4d4b54
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.004d2540
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x3a]
call fcn.004d26c8
movzx eax, word [ebp - 0x3a]
mov edx, eax
and dx, 0xff
cmp dx, 0x14
jae 0x4d4b95
and ax, 0xff00
add ax, 0x14
mov word [ebp - 0x3a], ax
cmp word [ebp - 0x38], 0x14
jae 0x4d4ba2
mov word [ebp - 0x38], 0x14
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d4bac
mov eax, dword [eax - 4]
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d4bba
mov eax, dword [eax - 4]
mov word [ebp - 0x20], ax
cmp dword [ebp + 8], 0
jne 0x4d4bcc
lea eax, [ebp - 0x3a]
mov dword [ebp + 8], eax
jmp 0x4d4c08
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
setne cl
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004d2804
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2a]
test eax, eax
je 0x4d4bed
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e]
test eax, eax
je 0x4d4c01
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1a], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x32]
test eax, eax
je 0x4d4c15
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1c], ax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004a28cc
mov eax, dword [0x5ca808]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 4
call fcn.004d1650
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.004d1650
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004d15a0
cmp word [ebp - 0x20], 0
jbe 0x4d4c86
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.004d15a0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004a28ac
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
test ebx, ebx
je 0x4d4f37
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jne 0x4d4cb6
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
jmp 0x4d4d87
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x78], 0
jne 0x4d4cd6
mov ecx, dword [0x5cc3b0]
mov dl, 1
mov eax, dword [0x4cd948]
call fcn.00428ee4
call fcn.0040790c
lea eax, [ebp - 0x3a]
mov cl, 1
xor edx, edx
call fcn.004d2804
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x403338]
call fcn.0040b208
add esp, 4
jmp 0x4d4d3e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4d4d14
mov eax, dword [ebp - 0x74]
mov eax, dword [eax - 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x78]
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.004cc364
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004a28ac
cmp edx, dword [ebp - 0x54]
jne 0x4d4d51
cmp eax, dword [ebp - 0x58]
jb 0x4d4cff
jmp 0x4d4d53
jl 0x4d4cff
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov eax, ebx
call fcn.004a28cc
mov eax, dword [ebp - 0x2e]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x74]
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x4d1f14]
call fcn.004d5654
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x40]
add eax, 0x3c
lea edx, [ebp - 0x3a]
mov ecx, dword [0x4cd728]
call fcn.00409ed4
movzx eax, byte [ebp - 0x34]
mov byte [ebp - 0x69], al
movzx edx, byte [ebp - 0x69]
mov eax, dword [ebp - 0x40]
call fcn.004d3528
lea eax, [ebp - 0x3a]
push eax
movzx edx, byte [ebp - 0x69]
lea ecx, [ebp - 0x8c]
mov eax, dword [0x5d3900]
call fcn.004d5fc8
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x70]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x4c2d54]
call fcn.00406758
test al, al
je 0x4d4dfc
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], 0x4d3c60
xor eax, eax
push ebp
push 0x4d4f30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
je 0x4d4e35
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
mov ecx, 0x100000
mov edx, ebx
mov eax, dword [ebp - 0x5c]
call fcn.004a2ffc
jmp 0x4d4eba
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x403338]
call fcn.0040b208
add esp, 4
jmp 0x4d4ea5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4d4e67
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax - 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x80], eax
mov esi, dword [ebp - 0x80]
push esi
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov dword [ebp - 0x84], eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.004cc364
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004a28ac
cmp edx, dword [ebp - 0x54]
jne 0x4d4eb8
cmp eax, dword [ebp - 0x58]
jb 0x4d4e52
jmp 0x4d4eba
jl 0x4d4e52
mov eax, dword [ebp - 0x40]
cmp word [eax + 0x32], 0
je 0x4d4ee7
mov eax, dword [ebp - 0x40]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x5c]
call fcn.004a28ac
push edx
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4f37
mov eax, dword [ebp - 0x5c]
call fcn.00406528
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x70]
je 0x4d4f0f
mov eax, dword [ebp - 0x70]
call fcn.00406528
mov eax, dword [ebp - 0x40]
add eax, 0x3c
mov edx, dword [0x4cd728]
call fcn.00409730
mov edi, eax
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
jmp eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004a28ac
sub eax, dword [ebp - 0x68]
sbb edx, dword [ebp - 0x64]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.004d2600
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x26]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2a]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2e]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
movzx edx, word [ebp - 0x20]
mov word [eax + 0x1a], dx
mov eax, dword [ebp + 8]
add eax, 0x2e
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x403338]
call fcn.0040b370
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004a28ac
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [ebp - 0x3a]
call fcn.004d268c
add eax, 4
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004a28cc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.004d1650
cmp word [ebp - 0x20], 0
jbe 0x4d4ff9
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004d15a0
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.004d15a0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4d5006
mov eax, dword [eax - 4]
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 0x40]
add eax, 0x20
mov ecx, 1
mov edx, dword [0x4d1344]
call fcn.0040b208
add esp, 4
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x20]
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov ecx, dword [0x4cd728]
call fcn.00409ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5086
lea eax, [ebp - 0x8c]
mov edx, dword [0x4ceb10]
call fcn.00409730
lea eax, [ebp - 0x3a]
mov edx, dword [0x4cd728]
call fcn.00409730
lea eax, [ebp - 4]
mov edx, dword [0x403338]
call fcn.0040b32c
pop eax
jmp eax