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

Disassembly:
sub esp, 0x68
mov eax, dword [0x62aabc]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
mov ebp, 1
push edi
mov dword [esp + 0x1c], esi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push dword [ecx + 0x24]
mov eax, dword [eax + 0x2760]
mov edi, dword [ecx + 0x240]
mov dword [esp + 0x3c], eax
call fcn.004e5c40
mov ecx, dword [esi]
add esp, 4
mov edx, dword [ecx + 0x244]
cmp eax, edx
cmovb edx, eax
cmp edi, edx
mov dword [esp + 0x30], edx
mov eax, edx
mov edx, dword [esi + 4]
cmovb eax, edi
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov eax, dword [edx + 0x2688]
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x10], 0
je 0x4d92f1
cmp dword [ecx + 0x14], 0
je 0x4d92df
cmp dword [edx + 0x25c8], 0
je 0x4d92df
mov eax, dword [edx + 0x25cc]
xor edx, edx
test eax, eax
sete dl
xor ebx, ebx
test eax, eax
setne bl
jmp 0x4d92e3
mov edx, ebp
mov ebx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
test edx, edx
je 0x4d9356
jmp 0x4d92fd
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
xor ebx, ebx
cmp dword [ecx + 0x18], ebx
jbe 0x4d9352
xor edi, edi
mov eax, dword [esi + 4]
push dword [ecx + 0x24]
push dword [eax + ebx*4 + 4]
call fcn.004d7190
mov ecx, dword [esi]
lea edi, [edi + 0x360]
add esp, 8
mov edx, dword [ecx + 0x1c]
cmp eax, edx
cmovbe edx, eax
mov eax, dword [esi + 4]
mov dword [eax + edi + 0x150], edx
mov eax, dword [esi + 4]
mov dword [eax + edi - 0x60], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi + 4]
sub ecx, edx
mov dword [eax + ebx*4 + 0xdc], ecx
inc ebx
mov ecx, dword [esi]
cmp ebx, dword [ecx + 0x18]
jb 0x4d9306
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4d94ae
xor ebx, ebx
mov edx, 0x24
xor ebp, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edx
mov eax, dword [esi]
cmp dword [eax + 0x1c], 0x20
jb 0x4d9435
test ebx, ebx
je 0x4d9435
mov ebx, dword [eax + 0x24]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x20], ebx
movlpd qword [esp + 0x64], xmm0
mov ecx, dword [edx + eax]
mov ebp, dword [eax + 0x2c]
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x4d93f9
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, ecx
and eax, 1
or eax, 0
jne 0x4d93c9
or ecx, dword [ebp + edi*8]
or edx, dword [ebp + edi*8 + 4]
inc edi
cmp edi, ebx
jb 0x4d93b2
mov eax, ecx
or eax, edx
je 0x4d93f9
mov eax, ecx
xor ebx, ebx
and eax, 1
or eax, ebx
jne 0x4d942f
nop word [eax + eax]
shrd ecx, edx, 1
inc ebx
mov eax, ecx
sar edx, 1
and eax, 1
or eax, 0
je 0x4d93e0
test ebx, ebx
je 0x4d942f
xor edi, edi
jmp 0x4d9406
xor edi, edi
mov ebx, 1
cmp dword [esp + 0x20], edi
jbe 0x4d942f
mov esi, dword [esp + 0x18]
nop word [eax + eax]
mov eax, dword [ebp + edi*8]
mov ecx, ebx
mov edx, dword [ebp + edi*8 + 4]
call fcn.00550410
inc edi
mov dword [esi], eax
lea esi, [esi + 4]
cmp edi, dword [esp + 0x20]
jb 0x4d9410
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
jmp 0x4d9448
push dword [eax + 0x24]
mov eax, dword [esi + 4]
push dword [edx + eax]
call fcn.004d7190
add esp, 8
mov ebx, eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
cmp ebx, edx
cmovbe edx, ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ebp + 0x1fb0], edx
xor ecx, ecx
mov eax, dword [esi + 4]
test ebx, ebx
setne cl
inc ebx
mov dword [esp + 0x24], ebx
mov dword [eax + ebp + 0x1e00], edx
add ebp, 0x360
mov eax, dword [esi]
mov dword [esp + 0x2c], ebp
add ecx, dword [eax + 0x1c]
mov eax, dword [esi + 4]
sub ecx, edx
mov edx, dword [esp + 0x28]
mov dword [edx + eax + 0xd8], ecx
add edx, 4
mov dword [esp + 0x28], edx
cmp edx, 0x2c
jb 0x4d9373
mov ebx, dword [esp + 0x14]
mov ebp, 1
cmp dword [esp + 0x10], 0
je 0x4d9578
mov ecx, dword [esi]
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x4d9578
mov edx, dword [esi + 4]
nop dword [eax]
cmp dword [ecx + 0x258], 0
je 0x4d94ef
test ebp, ebp
je 0x4d94ef
lea eax, [edi + 1]
cmp eax, dword [ecx + 0x18]
jne 0x4d94ef
mov dword [edx + 0x2760], 1
mov ecx, dword [esi + 4]
lea eax, [edi + 0x964]
lea eax, [ecx + eax*4]
push eax
lea eax, [edi + 0x95a]
lea eax, [ecx + eax*4]
push eax
lea eax, [edi*8 + 0x104]
add eax, ecx
push eax
lea eax, [edi + 0x49d]
lea eax, [ecx + eax*8]
push eax
lea eax, [edi + 0x463]
lea eax, [ecx + eax*8]
push eax
push dword [ecx + edi*4 + 4]
lea eax, [esp + 0x54]
push dword [ecx + edi*4 + 0xdc]
push eax
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.004d86d0
add esp, 0x2c
test eax, eax
je 0x4d96b2
mov edx, dword [esi + 4]
xor ecx, ecx
mov eax, dword [edx + edi*4 + 0x2568]
lea eax, [eax + edi*2]
imul eax, eax, 0x1b0
cmp dword [eax + edx + 0x158], ecx
cmovne ebp, ecx
mov ecx, dword [esi]
inc edi
cmp edi, dword [ecx + 0x18]
jb 0x4d94d0
test ebx, ebx
je 0x4d9807
xor ebx, ebx
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov ebp, dword [ecx + edi + 0xfc]
cmp ebp, 0x20
ja 0x4d95a5
mov edx, dword [ecx + edi + 0x24]
jmp 0x4d95a8
mov edx, dword [ecx + 0x2c]
lea eax, [ecx + 0x25b0]
add eax, edi
push eax
lea eax, [ecx + 0x2588]
add eax, edi
push eax
lea eax, [ecx + 0x144]
add eax, ebx
push eax
lea eax, [ecx + 0x2528]
add eax, ebx
push eax
lea eax, [ecx + 0x2358]
add eax, ebx
push eax
push edx
push ebp
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.004d86d0
add esp, 0x2c
test eax, eax
je 0x4d96b2
add edi, 4
add ebx, 8
cmp edi, 8
jb 0x4d9590
mov eax, dword [esi]
xor ebx, ebx
mov edi, dword [esi + 4]
xor ebp, ebp
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d962b
cmp dword [edi + 0x25c8], ebx
jbe 0x4d962b
mov edi, dword [edi + 0x25cc]
neg edi
sbb edi, edi
and edi, 3
jmp 0x4d968c
mov edx, dword [edi + 0x2594]
mov eax, dword [edi + 0x2590]
mov ecx, dword [edi + 0x25b4]
lea ebx, [eax + edx]
add eax, ecx
mov dword [esp + 0x68], eax
lea eax, [ecx + edx]
mov dword [esp + 0x6c], eax
xor edx, edx
mov eax, dword [edi + 0x25b0]
add eax, ecx
mov dword [esp + 0x64], ebx
xor ecx, ecx
mov dword [esp + 0x70], eax
cmp dword [esp + 0x1c], ecx
setne cl
lea ecx, [ecx*2 + 1]
nop
mov eax, dword [esp + ecx*4 + 0x64]
mov edi, ecx
cmp eax, ebx
cmovae edi, edx
inc ecx
cmp eax, ebx
mov edx, edi
cmovae eax, ebx
mov ebx, eax
cmp ecx, 3
jle 0x4d9670
xor ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x48], edi
push dword [eax + 0x25c0]
lea eax, [esp + 0x40]
push eax
call fcn.004ffec0
add esp, 8
test eax, eax
jne 0x4d96c7
mov eax, dword [esi]
mov dword [eax], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0054f742
add esp, 0x68
ret
cmp edi, 3
ja case.default.0x4d96d0
jmp dword [edi*4 + 0x4d98f4]
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2568], 0x1b0
lea ebp, [ecx + 0x4b8]
imul eax, dword [ecx + 0x256c], 0x1b0
add ebx, 0x158
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xdc]
mov edi, dword [eax + 0xe0]
jmp 0x4d97c2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2568], 0x1b0
lea ebp, [ecx + 0x1fb8]
imul eax, dword [ecx + 0x258c], 0x1b0
add ebx, 0x158
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xdc]
mov edi, dword [eax + 0x100]
jmp 0x4d97c2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x258c], 0x1b0
lea ebp, [ecx + 0x4b8]
imul eax, dword [ecx + 0x256c], 0x1b0
add ebx, 0x1fb8
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x100]
mov edi, dword [eax + 0xe0]
jmp 0x4d97c2
mov ecx, dword [esi + 4]
imul ebx, dword [ecx + 0x2588], 0x1b0
lea ebp, [ecx + 0x1fb8]
imul eax, dword [ecx + 0x258c], 0x1b0
add ebx, 0x1c58
add ebx, ecx
add ebp, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xfc]
mov edi, dword [eax + 0x100]
jmp 0x4d97c2
xor ebx, ebx
xor ebp, ebp
xor edi, edi
xor ecx, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
push ebx
push ecx
push dword [esp + 0x48]
push esi
call fcn.004d6890
add esp, 0x14
test eax, eax
je 0x4d96b2
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
push ebp
push edi
push dword [esp + 0x48]
push esi
call fcn.004d6890
add esp, 0x14
test eax, eax
je 0x4d96b2
jmp 0x4d9894
mov eax, dword [esi + 4]
push dword [eax + 0x25c0]
lea eax, [esp + 0x40]
push eax
call fcn.004ffec0
mov ecx, dword [esi]
add esp, 8
test eax, eax
jne 0x4d983c
pop edi
pop esi
pop ebp
mov dword [ecx], 7
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0054f742
add esp, 0x68
ret
xor edi, edi
cmp dword [ecx + 0x18], edi
jbe 0x4d9894
mov ebx, 0xdc
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + ebx + 0x248c]
push dword [ecx + 0x25c0]
lea eax, [eax + edi*2]
imul eax, eax, 0x1b0
add eax, 0x158
add eax, ecx
push eax
push dword [ecx + ebx]
push dword [esp + 0x48]
push esi
call fcn.004d6890
add esp, 0x14
test eax, eax
je 0x4d96b2
mov eax, dword [esi]
inc edi
add ebx, 4
cmp edi, dword [eax + 0x18]
jb 0x4d9850
mov eax, dword [esi]
cmp dword [eax + 0x14], 0
je 0x4d98c0
mov eax, dword [esi + 4]
inc dword [eax + 0x25c8]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x25c8]
cmp eax, dword [ecx + 0x25c4]
jb 0x4d98c0
mov dword [ecx + 0x25c8], 0
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x48]
pop edi
mov dword [ecx + 0x25cc], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
mov dword [eax + 0x2760], ecx
mov eax, 1
mov ecx, dword [esp + 0x68]
pop ebx
xor ecx, esp
call fcn.0054f742
add esp, 0x68
ret