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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
cmp dword [edi + 0x274], 3
je 0x4f21ce
lea esi, [edi + 0x244]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004e9eb9
test al, al
je 0x4f197a
push dword [ebp + 8]
call fcn.004fa0d9
pop ecx
jmp 0x4f197d
mov eax, dword [ebp + 8]
cmp byte [edi + 0x539], 0
mov dword [esp + 0x1c], eax
jne 0x4f19b6
mov ecx, esi
call fcn.004e9d38
test al, al
jne 0x4f19b6
mov ecx, esi
call fcn.004e9fb6
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004ea0ec
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.004f32dc
mov ecx, esi
call fcn.004e9d38
test al, al
je 0x4f19d7
mov ecx, esi
call fcn.004e9eb9
test al, al
je 0x4f19d7
mov al, 1
jmp 0x4f19d9
xor al, al
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.004f3304
pop ecx
pop ecx
test al, al
je 0x4f1bf3
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004e9d38
mov ecx, esi
test al, al
je 0x4f1a06
call fcn.004e9fcf
jmp 0x4f1a0b
call fcn.004e9fb6
mov esi, eax
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.004e9d38
test al, al
jne 0x4f1a2b
mov ecx, edi
call fcn.004e9b29
mov eax, dword [esp + 0x34]
mov edx, 0x97c
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ecx
cmp eax, edx
jg 0x4f1ae5
je 0x4f1a90
sub eax, 0x901
je 0x4f1a90
dec eax
sub eax, 1
je 0x4f1b2c
sub eax, 6
je 0x4f1b0d
dec eax
sub eax, 1
je 0x4f1afb
sub eax, 0x11
jne 0x4f1b71
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.004e17ae
jmp 0x4f1b68
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.004df79b
test al, al
je 0x4f1ab4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4f1ab4
sub eax, 1
jmp 0x4f1b59
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x540]
shr eax, 2
test al, 1
je 0x4f1adc
push dword [esp + 8]
mov ecx, dword [ecx + 0x2ac]
call fcn.004deb42
test eax, eax
jle 0x4f1b71
dec dword [esp + 8]
jmp 0x4f1b6c
sub eax, 0x97d
je 0x4f1b2c
sub eax, 1
je 0x4f1b0d
sub eax, 1
je 0x4f1a7b
sub eax, 1
jne 0x4f1b71
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x2ac]
call fcn.004dfbf6
jmp 0x4f1b68
mov edx, dword [esp + 0x10]
push ecx
mov edi, dword [edx + 0x2ac]
add edi, 4
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov edi, dword [esp + 0x18]
jmp 0x4f1b68
mov eax, dword [esp + 0x10]
test byte [eax + 0x540], 1
je 0x4f1b65
mov esi, dword [eax + 0x2ac]
mov ecx, edi
call fcn.004e9e92
push eax
mov ecx, esi
call fcn.004df79b
test al, al
je 0x4f1b61
mov eax, dword [esp + 0xc]
add eax, 1
js 0x4f1b71
mov dword [esp + 0xc], eax
jmp 0x4f1b71
mov ecx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esp + 8], eax
and dword [esp + 0xc], 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
call fcn.004e991d
xor ecx, ecx
push 0xffffffffffffffff
inc ecx
test al, al
pop eax
cmovne ecx, eax
lea eax, [esp + 0x28]
push ecx
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x10]
push eax
call fcn.004f465e
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov ecx, edi
mov dword [edx + 0x274], 2
mov dword [esp + 0x68], eax
call fcn.004e9fcf
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x60]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f8e4b
jmp 0x4f2177
lea ecx, [edi + 0x244]
call fcn.004e9d38
test al, al
je 0x4f1cdb
push esi
call fcn.004f4fcb
pop ecx
lea ecx, [edi + 0x244]
test eax, eax
jle 0x4f1c33
lea eax, [esp + 0x78]
push eax
call fcn.004e9dc1
lea edx, [eax + 8]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
jmp 0x4f1c4f
lea eax, [esp + 0x88]
push eax
call fcn.004e9dc1
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
sub esi, 0x908
je 0x4f1c87
dec esi
sub esi, 1
je 0x4f1c75
sub esi, 0x11
jne 0x4f1ca6
mov ecx, dword [edi + 0x2ac]
push eax
call fcn.004e17ae
jmp 0x4f1ca4
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x2ac]
push eax
call fcn.004dfbf6
jmp 0x4f1ca4
mov edi, dword [edi + 0x2ac]
mov eax, dword [esp + 0x1c]
add edi, 4
push eax
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [edi + 0x274], 1
lea esi, [esp + 0x30]
sub esp, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov edi, esp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ea0ec
jmp 0x4f2177
cmp byte [edi + 0x53a], 0
jne 0x4f1cf6
mov ecx, edi
call fcn.004f32dc
lea ecx, [edi + 0x244]
call fcn.004e9b29
and dword [esp + 0x14], 0
lea ecx, [edi + 0x244]
call fcn.004e9b20
test eax, eax
je 0x4f2177
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x244]
call fcn.004e9faa
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, 0x956
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
cmp esi, eax
jg 0x4f1e54
je 0x4f1eb8
lea eax, [esi - 0x900]
cmp eax, 0x2d
ja case.0x4f1d5c.2316
movzx eax, byte [eax + 0x4f2205]
jmp dword [eax*4 + 0x4f21d9]
test edx, edx
je 0x4f1d79
sub edx, 1
js case.0x4f1d5c.2316
mov dword [esp + 0xc], edx
jmp case.0x4f1d5c.2316
mov eax, dword [edi + 0x540]
shr eax, 2
test al, 1
je 0x4f1d9e
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004deb42
test eax, eax
jle case.0x4f1d5c.2316
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
jmp 0x4f1f51
mov eax, dword [edi + 0x540]
shr eax, 1
test al, 1
je 0x4f1ddc
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004df79b
test al, al
je 0x4f1dd8
mov eax, dword [esp + 0xc]
add eax, 1
js case.0x4f1d5c.2316
mov dword [esp + 0xc], eax
jmp case.0x4f1d5c.2316
mov ecx, dword [esp + 8]
lea eax, [ecx + 1]
jmp 0x4f1f51
or eax, 0xffffffff
push eax
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004e03ef
jmp 0x4f1f51
push 1
jmp 0x4f1de8
push ecx
mov edi, dword [edi + 0x2ac]
add edi, 4
push edi
mov esi, dword [edi]
call dword [esi + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x4f1f51
push 1
push ecx
mov ecx, edi
call fcn.004f95a4
jmp 0x4f1f51
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004e17ae
jmp 0x4f1f51
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004dfbf6
jmp 0x4f1f51
push 0
jmp 0x4f1e21
mov eax, 0x992
cmp esi, eax
jg 0x4f1f11
je case.0x4f1d5c.2349
mov eax, esi
sub eax, 0x957
je 0x4f1eb8
sub eax, 1
je 0x4f1ea7
sub eax, 1
je 0x4f1ea7
sub eax, 0x2e
je 0x4f1ea1
sub eax, 1
je 0x4f1ea1
sub eax, 1
je 0x4f1e8e
sub eax, 1
jne case.0x4f1d5c.2316
push 1
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004e02c9
jmp 0x4f1f51
or eax, 0xffffffff
push eax
jmp 0x4f1e90
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004e1b57
jmp 0x4f1f51
push ecx
mov ecx, dword [edi + 0x2ac]
call fcn.004e189e
jmp 0x4f1f51
push 1
push ecx
mov ecx, edi
call fcn.004f95a4
or ecx, 0xffffffff
push ecx
push 0
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.004f465e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x48]
push eax
call fcn.004e9933
test al, al
je case.0x4f1d5c.2316
push dword [esp + 8]
jmp 0x4f1dfe
mov eax, esi
sub eax, 0x993
je 0x4f1f49
sub eax, 1
je 0x4f1f49
sub eax, 1
je 0x4f1f3f
sub eax, 1
je 0x4f1f3f
sub eax, 0xc6
je 0x4f1f35
sub eax, 1
jne case.0x4f1d5c.2316
push ecx
mov ecx, edi
call fcn.004f9f53
jmp 0x4f1f51
push ecx
mov ecx, edi
call fcn.004f9f81
jmp 0x4f1f51
push ecx
mov ecx, edi
call fcn.004f3a04
and dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc]
call fcn.004e991d
xor ecx, ecx
push 0xffffffffffffffff
inc ecx
test al, al
pop eax
cmovne ecx, eax
lea eax, [esp + 0x70]
push ecx
push dword [esp + 0x10]
mov ecx, edi
push dword [esp + 0x10]
push eax
call fcn.004f465e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov eax, 0x956
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
cmp esi, eax
jg 0x4f204a
je case.0x4f1fc6.2308
lea eax, [esi - 0x900]
cmp eax, 0x2d
ja case.0x4f1fc6.2316
movzx eax, byte [eax + 0x4f2245]
jmp dword [eax*4 + 0x4f2235]
push dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.004e9faa
push eax
lea ecx, [eax + 8]
call fcn.004d5fa8
test al, al
je 0x4f1ff3
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x4f2025
push dword [esp + 0x14]
mov ecx, edi
call fcn.004e9faa
cmp esi, 0x900
jne 0x4f2014
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.004c624d
jmp 0x4f2020
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.004c2bd0
mov esi, dword [eax]
mov edi, dword [eax + 4]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.004e9faa
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp case.0x4f1fc6.2316
mov eax, 0x992
cmp esi, eax
jg 0x4f2110
je case.0x4f1fc6.2305
mov eax, esi
sub eax, 0x957
je case.0x4f1fc6.2305
sub eax, 1
je case.0x4f1fc6.2308
sub eax, 1
je case.0x4f1fc6.2305
sub eax, 0x2e
je case.0x4f1fc6.2308
sub eax, 1
je case.0x4f1fc6.2305
sub eax, 1
je case.0x4f1fc6.2308
sub eax, 1
jne case.0x4f1fc6.2316
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.004e9faa
mov ecx, dword [esp + 8]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], ecx
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x6c], esi
lea esi, [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
push edi
call fcn.004ea322
mov ecx, dword [esp + 0x18]
push edi
call fcn.004e9faa
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
jmp 0x4f203d
mov eax, esi
sub eax, 0x993
je case.0x4f1fc6.2308
sub eax, 1
je case.0x4f1fc6.2305
sub eax, 1
je case.0x4f1fc6.2308
sub eax, 1
je case.0x4f1fc6.2305
sub eax, 0xc6
jmp 0x4f2081
push dword [esp + 0x14]
lea ecx, [edi + 0x244]
call fcn.004e9faa
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
inc dword [esp + 0x14]
lea ecx, [edi + 0x244]
call fcn.004e9b20
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jb 0x4f1d12
mov ecx, dword [esp + 0x18]
call fcn.004e9fd3
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x18]
lea esi, [esi + 0x670]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004e9fb6
sub esp, 0x10
lea esi, [esp + 0x60]
mov edi, esp
or ecx, 0xffffffff
push 1
movsd dword es:[edi], dword [esi]
push 0
push ecx
push dword [eax + 4]
movsd dword es:[edi], dword [esi]
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004f4c65
mov ecx, esi
call fcn.004f32dc
mov ecx, esi
call fcn.004f8e28
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4