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

Disassembly:
sub esp, 0x120
mov eax, dword [0x4e7fde0]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [esp + 0x124], 0
push esi
push edi
mov esi, ecx
je 0x4d131ea
mov ecx, dword [0x4e83f6c]
call fcn.04b81380
test al, al
je 0x4d131ea
push 0
push 0
push 0
lea ecx, [esi + 0xcf00]
call fcn.04d1ac70
lea edi, [esi + 0x44]
push 0
mov ecx, edi
call fcn.04d20d20
lea ecx, [esi + 0xcfa4]
call fcn.04d3da70
lea ecx, [esi + 0xe55c]
call fcn.04d22b80
push 0
push 0
mov ecx, edi
call fcn.04d20d60
mov eax, dword [esi + 0xe688]
sub eax, 1
jne 0x4d131a8
cmp dword [esi + 0xe68c], eax
jne 0x4d131a8
mov eax, dword [0x4e83f4c]
cmp eax, 2
je 0x4d131a8
cmp eax, 9
je 0x4d131a8
cmp eax, 6
jne 0x4d131a8
cmp dword [0x4e83f48], 0
jne 0x4d131a8
push 0xfffffffffffffff6
push 0xfffffffffffffff4
push 0
lea ecx, [esi + 0x4208]
call fcn.04d38330
lea ecx, [esi + 0x7a68]
call fcn.04d10a20
lea ecx, [esi + 0xe08c]
call fcn.04d0d990
mov eax, dword [0x4e83f4c]
push eax
lea ecx, [esi + 0x4ca8]
call fcn.04d45780
lea ecx, [esi + 0xe6a8]
call fcn.04d0f940
lea ecx, [esi + 0xde1c]
call fcn.04d40510
jmp 0x4d137fb
mov ecx, dword [esi + 0xe4fc]
push ebx
push ebp
call fcn.04d4f0b0
call fcn.04b77750
mov ecx, dword [0x4e83f6c]
mov ebx, dword [eax + 0xc]
call fcn.04b81380
test al, al
je 0x4d13245
mov ecx, dword [0x4e83f6c]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x24], 8
jne 0x4d13245
lea edi, [esi + 0x7cec]
push 0
mov ecx, edi
call fcn.04d317c0
cmp dword [ebx + 0x16c], 6
je 0x4d1329a
mov ecx, edi
call fcn.04d31d00
mov ecx, edi
call fcn.04d31f00
jmp 0x4d1329a
mov eax, dword [esi + 0xe694]
test eax, eax
je 0x4d13294
cmp eax, 2
jne 0x4d13261
push 1
lea ecx, [esi + 0x7cec]
call fcn.04d317c0
cmp dword [esi + 0xe694], 1
jne 0x4d13277
push 0
lea ecx, [esi + 0x7cec]
call fcn.04d317c0
cmp dword [ebx + 0x16c], 6
je 0x4d13294
lea edi, [esi + 0x7cec]
mov ecx, edi
call fcn.04d31d00
mov ecx, edi
call fcn.04d31f00
lea edi, [esi + 0x7cec]
mov ecx, edi
call fcn.04d320d0
mov ecx, edi
call fcn.04d32220
mov ecx, edi
call fcn.04d33640
mov ecx, edi
call fcn.04d33f50
lea ebp, [esi + 0xf5e8]
mov ecx, ebp
call fcn.04d2bc20
lea ebx, [esi + 0xf718]
mov ecx, ebx
call fcn.04d3ef60
mov ecx, ebp
call fcn.04d2cb20
cmp dword [0x4e83f4c], 0xc
jne 0x4d132e7
mov ecx, edi
call fcn.04d34270
lea ecx, [esi + 0xf854]
call fcn.04d459f0
lea ecx, [esi + 0xe520]
call fcn.04d0ca00
lea edi, [esi + 0xe1e0]
mov ecx, edi
call fcn.04d48340
test al, al
je 0x4d1333a
lea eax, [esp + 0x10]
push eax
push 0x1d
mov ecx, 0x4ea5a58
mov dword [esp + 0x18], 0
call fcn.04c50a90
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + 0x359]
push edx
mov ecx, edi
call fcn.04d4aac0
mov ecx, ebx
call fcn.04d3f180
lea ecx, [esi + 0x7b64]
call fcn.04d28750
lea ecx, [esi + 0xcfa4]
call fcn.04d3da70
lea ecx, [esi + 0xe55c]
call fcn.04d22b80
lea edi, [esi + 0xddf0]
mov ecx, edi
call fcn.04d19700
mov ecx, edi
call fcn.04d19b70
mov ecx, edi
call fcn.04d19fd0
mov ecx, edi
call fcn.04d1a430
push 0
push 0
push 0
lea ecx, [esi + 0xcf00]
call fcn.04d1ac70
lea edi, [esi + 0x44]
push 0
mov ecx, edi
call fcn.04d20d20
cmp byte [esi + 0xf714], 0
je 0x4d133b5
mov ecx, dword [esi + 0xf710]
call fcn.04d16260
push 0
push 0
mov ecx, edi
call fcn.04d20d60
push 0
mov ecx, edi
call fcn.04d1df40
call fcn.04b74bb0
mov ecx, eax
call fcn.04d18480
cmp dword [0x4e83f4c], 0xb
jne 0x4d13551
cmp byte [esi + 0x4168], 0
je 0x4d1342f
mov eax, dword [0x4e83f6c]
mov ecx, dword [eax + 0x50]
cmp byte [ecx + 0x300], 0
jne 0x4d1342f
mov ecx, dword [esi + 0xe4fc]
push 2
call fcn.04d4f170
push 0
push 0x4e7cb44
push 0x4e7cb28
push 0
push eax
call fcn.04df8166
add esp, 0x14
test eax, eax
je 0x4d1343c
push 1
mov ecx, eax
call fcn.04d4e010
jmp 0x4d1343c
mov ecx, dword [esi + 0xe4fc]
push 2
call fcn.04d4f0f0
mov edx, dword [0x4e83f6c]
mov edi, dword [edx + 0x50]
test edi, edi
je 0x4d13551
cmp byte [edi + 0x300], 0
jne 0x4d13551
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
lea edx, [esp + 0x20]
push edx
mov edx, dword [edi + 0x100]
push edx
call eax
cmp dword [edi + 0x574], 0
jle 0x4d1353a
mov ebx, dword [0x4e83f6c]
add ebx, 0xfbd0
xor ebp, ebp
lea edi, [ebx + 0x14]
cmp dword [edi - 0x14], 0
je 0x4d13528
mov ecx, dword [0x4e83f6c]
call fcn.04b77130
movzx edx, byte [edi - 0x10]
movsx ecx, al
cmp edx, ecx
je 0x4d13528
mov eax, dword [edi]
cmp dword [eax + 0x1a0], 0
je 0x4d13528
cmp word [edi + 0x198], 0
ja 0x4d13528
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi - 0x14]
push eax
call edx
fld dword [esp + 0x24]
fsub dword [esp + 0x18]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x4e36480]
fnstsw ax
test ah, 0x41
jp 0x4d13509
fldz
fst dword [esp + 0x24]
fstp dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.04ca61a0
fcomp qword [0x4e3ac80]
fnstsw ax
test ah, 5
jnp 0x4d135d8
add ebp, 1
add edi, 0x1c0
cmp ebp, 0x10
jl 0x4d13494
mov edx, dword [0x4e83f6c]
mov eax, dword [edx + 0xf848]
test eax, eax
je 0x4d13551
mov byte [eax + 0x28fc], 0
mov eax, dword [esi + 0xe688]
sub eax, 0
pop ebp
pop ebx
je 0x4d136af
sub eax, 1
jne 0x4d1375e
mov ecx, dword [0x4e83f6c]
call fcn.04b7fb80
cmp dword [esi + 0xe68c], 0
jne 0x4d135c6
mov eax, dword [0x4e83f4c]
cmp eax, 1
je 0x4d135b5
cmp eax, 3
je 0x4d135b5
cmp eax, 4
je 0x4d135b5
cmp eax, 8
je 0x4d135b5
cmp eax, 6
jne 0x4d135a6
cmp dword [0x4e83f48], 0
je 0x4d135b5
mov ecx, dword [0x4e83f6c]
call fcn.04b81380
test al, al
je 0x4d135c6
push 0xfffffffffffffff6
push 0xfffffffffffffff4
push 0
lea ecx, [esi + 0x4208]
call fcn.04d38330
lea ecx, [esi + 0xebc]
call fcn.04d24b80
push 0
jmp 0x4d13753
push 0xff
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call fcn.04df7dbc
imul ebp, ebp, 0x1c0
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [ebx + ebp + 6]
push edx
mov edx, dword [eax + 0x1d8]
push 0x4e3ac64
push 0
push 0x65a5
call edx
push eax
lea eax, [esp + 0x34]
push eax
nop
call 0x7c22775d
add esp, 0xc
push 0
push 0x258
push 0
push 0
push 0xff8fd6ff
push 0x3e8
lea ecx, [esp + 0x44]
push 0x96
push ecx
call fcn.04b74bb0
mov ecx, eax
call fcn.04d18970
mov edx, dword [0x4e83f6c]
mov edi, dword [edx + 0xf848]
test edi, edi
je 0x4d13551
cmp byte [edi + 0x28fc], 0
jne 0x4d13551
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1d8]
push 0x4e3ac2c
push 0
push 0x65b9
call edx
push eax
lea ecx, [edi + 0x58]
call fcn.04d042a0
mov eax, dword [0x4e83f6c]
mov ecx, dword [eax + 0xf848]
mov byte [ecx + 0x28fc], 1
jmp 0x4d13551
call fcn.04d07800
test al, al
je 0x4d136ec
mov eax, dword [0x4e83f6c]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4d136ff
cmp byte [eax + 0x510], 0
jne 0x4d136d6
push 0
call fcn.04d08130
jmp 0x4d136fc
test eax, eax
je 0x4d136ff
cmp byte [eax + 0x510], 0
je 0x4d136ff
push 0
call fcn.04d07b10
jmp 0x4d136fc
call fcn.04d078f0
test al, al
je 0x4d136ff
push 0
call fcn.04d07ba0
add esp, 4
lea ecx, [esi + 0x44]
call fcn.04d21ad0
cmp dword [esi + 0xe68c], 0
jne 0x4d1372a
cmp dword [esi + 0xe694], 1
push 0xfffffffffffffff6
setne cl
push 0xfffffffffffffff4
push ecx
lea ecx, [esi + 0x4208]
call fcn.04d38330
cmp word [0x4e83f80], 0
jne 0x4d13741
lea ecx, [esi + 0x6084]
call fcn.04d3cd30
jmp 0x4d1374c
lea ecx, [esi + 0x6788]
call fcn.04d0ae50
cmp byte [esi], 0
je 0x4d1375e
push 1
lea ecx, [esi + 0xde1c]
call fcn.04d40b60
mov ecx, dword [0x4e83f6c]
call fcn.04b81380
test al, al
je 0x4d13778
lea ecx, [esi + 0x7b40]
call fcn.04d30210
lea ecx, [esi + 0x7a68]
call fcn.04d10a20
lea ecx, [esi + 0xe08c]
call fcn.04d0d990
cmp dword [0x4e83f4c], 0xa
jne 0x4d137ad
lea ecx, [esi + 0xf398]
call fcn.04d462e0
lea ecx, [esi + 0xeaa8]
call fcn.04d46050
mov edx, dword [0x4e83f4c]
push edx
lea ecx, [esi + 0x4ca8]
call fcn.04d45780
lea ecx, [esi + 0xe6a8]
call fcn.04d0f940
lea ecx, [esi + 0xe454]
call fcn.04d0bd40
lea ecx, [esi + 0xe420]
call fcn.04d11920
lea ecx, [esi + 4]
call fcn.04d047d0
lea ecx, [esi + 0x24]
call fcn.04d047d0
lea ecx, [esi + 0xe500]
call fcn.04d0b950
movzx eax, byte [esi + 0xf5e5]
push eax
lea ecx, [esi + 0xf39c]
call fcn.04d31200
cmp byte [esi + 0xf5e4], 0
je 0x4d13a10
mov eax, dword [0x4e83fe4]
mov ecx, dword [0x4e83f6c]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.04b81430
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
push 0
push 0
push 1
push 0xffffffffffffffff
push edi
push 0x14
push 0x4e3ac1c
push 0
test al, al
mov eax, dword [edx + 0x1d8]
push 0x535
je 0x4d138be
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x14]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
push 0x14
push 0x4e3ac08
push 0
push 0x55f2
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
add edi, 0x28
push edi
push 0x14
push 0x4e3abf8
push 0
push 0x538
jmp 0x4d139f4
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x14]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
push 0x14
push 0x4e3abdc
push 0
push 0x536
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x28]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
push 0x14
push 0x4e3abc0
push 0
push 0x537
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x3c]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
push 0x14
push 0x4e3abf8
push 0
push 0x538
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x50]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
push 0x14
push 0x4e3abac
push 0
push 0x539
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
lea ecx, [edi + 0x64]
push ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
push 0x14
mov eax, dword [edx + 0x1d8]
push 0x4e3ab8c
push 0
push 0x53a
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
push 0
push 0
push 1
push 0xffffffffffffffff
add edi, 0x78
push edi
push 0x14
push 0x4e3ab6c
push 0
push 0x53b
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d8]
call eax
mov ecx, dword [0x55d5800]
push eax
call fcn.04d610e0
cmp byte [esi + 0xf70c], 0
mov ecx, dword [0x4e83f6c]
je 0x4d13a42
call fcn.04b81380
test al, al
je 0x4d13a54
mov ecx, dword [0x4e83f6c]
call fcn.04b81380
test al, al
je 0x4d13a6e
cmp byte [0x55d53d4], 0
jne 0x4d13a54
jmp 0x4d13a6e
cmp byte [esi + 0xf70d], 0
jne 0x4d13a1f
call fcn.04b81380
test al, al
jne 0x4d13a6e
call fcn.04bdc070
cmp eax, 0xb
jne 0x4d13a6e
push eax
call fcn.04bdf620
add esp, 4
mov ecx, eax
call fcn.04bc2850
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.04df7d7a
add esp, 0x120
ret 4