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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x200
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.004f56f0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4d88fe
mov esi, dword [0x85ac74]
mov eax, dword [esp + 0x5c]
mov ecx, 0x80
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xa24]
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x1b8], ecx
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0x1c6]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jge 0x4d84fc
mov eax, dword [eax + 0xa34]
add eax, ebx
mov ecx, dword [eax + 0x84]
mov edi, dword [eax + 0x88]
mov edx, dword [eax + 0x80]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x38], edi
add edi, edx
adc ecx, dword [esp + 0x44]
sub edi, 1
sbb ecx, 0
mov dword [esp + 0x34], ecx
mov cl, byte [eax + 0x78]
mov byte [esi - 8], cl
mov al, byte [eax + 0x79]
mov ecx, dword [esp + 0x38]
mov byte [esi - 4], al
mov dword [esi + 4], ecx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
mov dword [esi], edx
push eax
push ecx
push edx
mov edx, dword [esp + 0x74]
push edx
call fcn.004d7fd0
lea eax, [esi - 5]
lea ecx, [esi - 6]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esi - 7]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004d80a0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
push edi
push ecx
call fcn.004d7fd0
add esp, 0x48
lea edx, [esi - 1]
lea eax, [esi - 2]
lea ecx, [esi - 3]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.004d80a0
mov eax, dword [esp + 0x34]
add esp, 0x18
inc eax
add ebx, 0x440
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
add esi, 0x10
mov byte [ebp + 0x1fe], 0x55
mov byte [ebp + 0x1ff], 0xaa
cmp ebx, 0xcc0
jl 0x4d83e9
cmp dword [eax + 0xc], 4
jl 0x4d85e5
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0xa10]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
add edi, 1
mov byte [ebp + 0x1ee], 0
adc ecx, 0
xor esi, esi
sub eax, edx
mov edx, ebx
sbb edx, esi
sub eax, edi
mov esi, dword [esp + 0x60]
mov dword [ebp + 0x1fa], eax
sbb edx, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], edx
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
push edi
push esi
mov byte [ebp + 0x1f2], 0xf
mov dword [ebp + 0x1f6], edi
call fcn.004d7fd0
lea ecx, [ebp + 0x1f1]
lea edx, [ebp + 0x1f0]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [ebp + 0x1ef]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.004d80a0
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x98]
sub ecx, 1
lea eax, [esp + 0x4c]
push edx
push eax
sbb ebx, 0
push ebx
push ecx
push esi
call fcn.004d7fd0
add esp, 0x48
lea edx, [ebp + 0x1f5]
lea eax, [ebp + 0x1f4]
lea ecx, [ebp + 0x1f3]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.004d80a0
add esp, 0x18
mov dword [esp + 0x20], edi
jmp 0x4d85e9
mov esi, dword [esp + 0x60]
push 0x200
push 1
push 0
push 0
push ebp
push esi
call fcn.004d8fe0
add esp, 0x18
test eax, eax
je 0x4d88fe
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0xc]
cmp eax, 4
jl 0x4d88f6
cmp eax, 3
mov dword [esp + 0x1c], 3
jle 0x4d88f6
mov dword [esp + 0x28], 0xcc0
mov ecx, 0x80
xor eax, eax
mov edi, ebp
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov esi, dword [ecx + 0xa34]
xor ecx, ecx
add eax, esi
mov esi, dword [eax + 0x80]
mov edi, dword [eax + 0x84]
mov dword [esp + 0x50], esi
sub esi, edx
mov edx, ecx
mov dword [esp + 0x54], edi
sbb edi, edx
mov edx, dword [eax + 0x8c]
sub esi, ebx
mov ebx, dword [esp + 0x20]
sbb edi, ecx
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x38], ecx
sub ecx, ebx
mov ebx, 0
mov dword [esp + 0x3c], edx
sbb edx, ebx
mov ebx, dword [esp + 0x24]
sub ecx, ebx
mov ebx, 0
sbb edx, ebx
mov ebx, dword [esp + 0x50]
add ecx, ebx
mov ebx, dword [esp + 0x54]
adc edx, ebx
sub ecx, 1
sbb edx, 0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dl, byte [eax + 0x78]
mov byte [ebp + 0x1be], dl
mov al, byte [eax + 0x79]
mov byte [ebp + 0x1c2], al
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
add ebx, eax
mov eax, 0
mov dword [ebp + 0x1ca], ecx
mov ecx, eax
adc eax, ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, ebx
add ecx, esi
mov dword [esp + 0x54], eax
lea edx, [esp + 0x20]
mov dword [ebp + 0x1c6], esi
adc eax, edi
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
mov dword [esp + 0x60], ebx
call fcn.004d7fd0
lea eax, [ebp + 0x1c1]
lea ecx, [ebp + 0x1c0]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [ebp + 0x1bf]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004d80a0
mov edx, dword [esp + 0x64]
mov edi, ebx
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x40]
add edi, ebx
mov ebx, dword [esp + 0x7c]
adc ebx, edx
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x4c]
push ecx
push edx
push ebx
push edi
push eax
call fcn.004d7fd0
add esp, 0x48
lea ecx, [ebp + 0x1c5]
lea edx, [ebp + 0x1c4]
lea eax, [ebp + 0x1c3]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.004d80a0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [eax + 0xc]
dec ecx
cmp edx, ecx
je 0x4d8895
add edi, 1
mov byte [ebp + 0x1ce], 0
adc ebx, 0
mov esi, edi
mov edi, dword [esp + 0x64]
mov ecx, ebx
mov ebx, dword [esp + 0x68]
sub edi, esi
mov edx, esi
mov byte [ebp + 0x1d2], 5
sbb ebx, ecx
sub edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [ebp + 0x1d6], edx
mov edx, edi
sub edx, dword [eax + 0xa10]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov dword [ebp + 0x1da], edx
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x70]
push esi
push ecx
call fcn.004d7fd0
lea edx, [ebp + 0x1d1]
lea eax, [ebp + 0x1d0]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [ebp + 0x1cf]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.004d80a0
lea edx, [esp + 0x40]
lea eax, [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x98]
add edi, esi
lea ecx, [esp + 0x50]
adc ebx, eax
sub edi, 1
sbb ebx, 0
push ecx
push ebx
push edi
push edx
call fcn.004d7fd0
add esp, 0x48
lea eax, [ebp + 0x1d5]
lea ecx, [ebp + 0x1d4]
lea edx, [ebp + 0x1d3]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.004d80a0
add esp, 0x18
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
push 0x200
push 1
push eax
push ecx
push ebp
push edx
mov byte [ebp + 0x1fe], 0x55
mov byte [ebp + 0x1ff], 0xaa
call fcn.004d8fe0
add esp, 0x18
test eax, eax
je 0x4d88fe
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
sub esi, ebx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x28]
inc eax
add esi, 0x440
cmp eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jl 0x4d862f
mov dword [esp + 0x2c], 1
push ebp
call fcn.004f5720
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret