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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28018
call fcn.004ef140
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x28018], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x2800c], eax
xor ebx, ebx
xor eax, eax
cmp dword [edi + 0xc], ebx
jle 0x4f1a2c
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0x30]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 0xc]
jl 0x4f1a05
jmp 0x4f1a2c
mov ecx, dword [edi + 0xac]
mov ecx, dword [ecx + eax*4]
mov edx, dword [edi + 0xa4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 0x10]
jl 0x4f1a19
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + eax*4]
push esi
shl eax, 2
push eax
push ebx
push dword [edi + 0xa8]
call sub.MSVCR100.dll_memset
mov esi, 0x5000
push esi
lea eax, [ebp - 0x28004]
push ebx
push eax
mov dword [edi + 0xc0], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x5004]
push ebx
push eax
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0xa004]
push ebx
push eax
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0xf004]
push ebx
push eax
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x14004]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [edi + 0x14]
mov dword [edi + 0x74], eax
xor eax, eax
inc eax
add esp, 0x48
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xe4], ebx
mov dword [ebp - 0x28008], eax
cmp dword [edi + 0x58], eax
jl 0x4f1e06
mov eax, dword [ebp - 0x28008]
dec eax
neg eax
sbb eax, eax
and eax, 3
mov dword [edi + 0x70], ebx
mov dword [ebp - 0x28010], eax
cmp eax, dword [edi + 0x98]
jge 0x4f1db7
mov edx, dword [ebp - 0x28018]
mov ecx, eax
imul ecx, ecx, 0x64
lea esi, [ecx + edx + 0x18]
cmp word [esi - 0x18], bx
je 0x4f1be5
lea ecx, [ebp - 0x23004]
push ecx
lea ecx, [ebp - 0x28004]
push ecx
lea ecx, [ebp - 0x1e004]
push ecx
mov ecx, edi
call fcn.004f0438
mov ecx, dword [ebp - 0x28010]
add esp, 0xc
mov eax, edi
call fcn.004f03b5
cmp dword [edi + 0x68], ebx
je 0x4f1b66
movzx edx, word [esi - 0x12]
call fcn.004f01a2
cmp dword [edi + 0xd4], ebx
je 0x4f1b86
movzx eax, word [esi - 0x14]
push dword [esi]
mov edx, edi
push eax
lea eax, [ebp - 0x5004]
push eax
call fcn.004f0353
add esp, 0xc
cmp dword [edi + 0xd8], ebx
je 0x4f1ba7
movzx eax, word [esi - 0x16]
push dword [esi - 4]
mov edx, edi
push eax
lea eax, [ebp - 0xa004]
push eax
call fcn.004f0353
add esp, 0xc
cmp dword [edi + 0xdc], ebx
je 0x4f1bc6
push dword [esi + 0x1c]
lea eax, [ebp - 0xf004]
push dword [esi + 0x18]
mov edx, edi
push eax
call fcn.004f0353
add esp, 0xc
cmp dword [edi + 0xe0], ebx
je 0x4f1be5
push dword [esi + 0x28]
lea eax, [ebp - 0x14004]
push dword [esi + 0x24]
mov edx, edi
push eax
call fcn.004f0353
add esp, 0xc
cmp dword [edi + 0xd4], ebx
je 0x4f1c11
cmp dword [esi - 8], ebx
je 0x4f1c61
push ebx
lea eax, [ebp - 0x5004]
push eax
movzx eax, word [esi - 0x14]
push eax
mov edx, edi
call fcn.004f0201
add esp, 0xc
test eax, eax
jne 0x4f1e06
cmp dword [esi - 8], ebx
je 0x4f1c61
movzx edx, word [esi - 0x14]
mov eax, dword [ebp - 0x2800c]
mov ecx, eax
imul eax, edx
shl ecx, 2
shl eax, 2
push ecx
mov dword [ebp - 0x28014], eax
lea eax, [ebp + eax - 0x28004]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x2800c]
shl eax, 2
push eax
mov eax, dword [ebp - 0x28014]
lea eax, [ebp + eax - 0x5004]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
cmp word [esi + 0xa], bx
je 0x4f1d19
inc dword [edi + 0xc0]
cmp dword [edi + 0xd8], ebx
je 0x4f1cc3
push 1
lea eax, [ebp - 0xa004]
push eax
movzx eax, word [esi + 6]
push eax
mov edx, edi
call fcn.004f0201
add esp, 0xc
test eax, eax
jne 0x4f1e06
mov eax, dword [edi + 0x64]
add dword [edi + 0x70], eax
mov eax, dword [ebp - 0x2800c]
mov ecx, eax
shl ecx, 2
push ecx
movzx ecx, word [esi + 6]
imul ecx, eax
lea eax, [ebp + ecx*4 - 0xa004]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0xdc], ebx
je 0x4f1d19
push 2
lea eax, [ebp - 0xf004]
push eax
movzx eax, word [esi + 6]
inc eax
cdq
idiv dword [edi + 4]
push edx
mov edx, edi
call fcn.004f0201
add esp, 0xc
test eax, eax
jne 0x4f1e06
mov ecx, dword [ebp - 0x2800c]
mov eax, ecx
shl eax, 2
push eax
movzx eax, word [esi + 6]
inc eax
cdq
idiv dword [edi + 4]
push ebx
imul edx, ecx
lea eax, [ebp + edx*4 - 0xf004]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0xe0], ebx
je 0x4f1d67
cmp dword [esi + 0x48], ebx
je 0x4f1d67
push 3
lea eax, [ebp - 0x14004]
push eax
push dword [esi + 0x3c]
mov edx, edi
call fcn.004f0201
add esp, 0xc
test eax, eax
jne 0x4f1e06
mov eax, dword [ebp - 0x2800c]
mov ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [esi + 0x3c]
imul ecx, eax
lea eax, [ebp + ecx*4 - 0x14004]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp word [esi + 4], bx
je 0x4f1d9b
mov ecx, dword [ebp - 0x28010]
mov eax, edi
call fcn.004f0523
lea eax, [ebp - 0x23004]
push eax
lea eax, [ebp - 0x28004]
push eax
mov eax, dword [ebp - 0x28010]
lea ecx, [ebp - 0x1e004]
call fcn.004f14fd
pop ecx
pop ecx
mov eax, dword [ebp - 0x28010]
inc eax
add esi, 0x64
mov dword [ebp - 0x28010], eax
cmp eax, dword [edi + 0x98]
jl 0x4f1b22
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 0x74]
jge 0x4f1dc2
mov dword [edi + 0x74], eax
mov ecx, dword [ebp - 0x28008]
cmp ecx, 1
jne 0x4f1dd6
cmp dword [edi + 0x6c], 0xffffffff
jne 0x4f1dd6
mov dword [edi + 0x6c], eax
push dword [edi + 0x14]
lea eax, [ebp - 0x19004]
push eax
lea eax, [ebp - 0x1e004]
push eax
mov eax, edi
call fcn.004f05c7
add esp, 0xc
inc dword [ebp - 0x28008]
mov eax, dword [ebp - 0x28008]
cmp eax, dword [edi + 0x58]
jle 0x4f1af0
cmp dword [edi + 0x6c], 0xffffffff
pop esi
jne 0x4f1e10
mov dword [edi + 0x6c], ebx
mov eax, dword [edi + 0x58]
cmp dword [ebp - 0x28008], eax
jle 0x4f1e21
mov dword [ebp - 0x28008], eax
mov eax, dword [ebp - 0x28008]
mov ecx, dword [ebp - 4]
mov dword [edi + 0xbc], eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004e8d32
leave
ret