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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542458
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x4c9679
mov dword [eax], ebx
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x4c9686
mov dword [eax], ebx
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x4c9696
call fcn.005142c1
mov esi, dword [esp + 0x7c]
push esi
call fcn.004c7500
add esp, 4
cmp eax, 1
jne 0x4c96cd
mov ecx, dword [esp + 0x80]
push 0x581278
call fcn.005146c6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14
mov eax, dword [0x58f614]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov bl, byte [esi]
cmp bl, 0x37
mov byte [esp + 0x84], bl
jne 0x4c971d
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4c9d2f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4c972d
call fcn.005142c1
mov ecx, dword [esp + 0x84]
and ecx, 0xff
lea eax, [ecx - 0x21]
cmp eax, 0x1a
ja case.0x4c974a.38
xor edx, edx
mov dl, byte [eax + 0x4c9da8]
jmp dword [edx*4 + 0x4c9d90]
mov edx, dword [esp + 0x14]
xor ebx, ebx
inc edx
inc esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x14], edx
mov esi, dword [esi]
mov dword [esp + 0x2c], ebx
push esi
call fcn.004cfba0
add esp, 4
cmp eax, 0x2000000
jne 0x4c9828
mov ecx, dword [edi + 0xcc]
lea eax, [esp + 0x30]
push ebx
push eax
push esi
add ecx, 0x244
call fcn.004d0460
cmp eax, 1
jne 0x4c97ee
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov ecx, edi
push edx
push ebp
call fcn.004c8b80
mov ecx, dword [esp + 0x90]
cmp ecx, ebx
je 0x4c97c3
mov eax, dword [esp + 0x30]
add eax, 0x10
push eax
call fcn.00514423
cmp dword [esp + 0x14], 1
jne 0x4c9a20
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], esi
add eax, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cd2b0
cmp dword [esp + 0x14], 1
jne 0x4c9a20
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
push esi
call fcn.004c7970
mov ebx, 1
add esp, 4
cmp eax, ebx
jne 0x4c9916
push esi
call fcn.004cfb80
add esp, 4
test eax, eax
jne 0x4c9867
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], ebx
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
mov eax, dword [edi + 8]
test eax, eax
je 0x4c99c7
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push eax
add ecx, 0x20c
call fcn.004d0460
cmp eax, ebx
jne 0x4c99c7
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x40]
test eax, eax
je 0x4c99c7
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push ecx
push 0
push 0
push edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xcc]
push edx
push esi
push eax
call fcn.0044f260
cmp eax, ebx
jne 0x4c99c7
cmp dword [esp + 0x14], ebx
jne 0x4c98f1
mov eax, dword [esp + 0x10]
push eax
call fcn.004c72a0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov ecx, edi
push edx
push ebp
call fcn.004c8b80
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
cmp esi, 0x500fffe
je 0x4c99e2
push esi
mov ecx, edi
call fcn.004c8ba0
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c99c7
mov ecx, dword [eax]
add eax, 6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esp + 0x10], eax
jne 0x4c9964
push eax
call fcn.004c72a0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x28], edx
push eax
call fcn.004c6fc0
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esp + 0x10], ecx
push ecx
push ebp
mov ecx, edi
call fcn.004c8b80
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4c9a20
mov eax, dword [esp + 0x10]
push eax
call fcn.00471ab0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
add esp, 4
add eax, edx
push eax
call fcn.00514473
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cd2b0
cmp dword [esp + 0x14], ebx
jne 0x4c9a20
jmp 0x4c9a18
mov eax, dword [esp + 0x80]
cmp byte [eax + 4], 0x3a
jne 0x4c9a12
cmp byte [eax + 5], 0x21
jne 0x4c9a12
inc eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x80], eax
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
cmp dword [esp + 0x14], ebx
jne 0x4c9a20
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4c9a4c
push 0x591dcc
mov ecx, ebp
call fcn.005146c6
inc esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 0x80]
mov esi, dword [esi]
push esi
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
call fcn.004cfb70
add esp, 4
cmp eax, 0x15000000
jne 0x4c9bb0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
call fcn.004db4a0
add esp, 4
cmp eax, 2
jne 0x4c9ac9
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push edx
add ecx, 0x244
call fcn.004d0460
cmp eax, 1
jne 0x4c9b81
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
jmp 0x4c9acd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c9b81
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push eax
add ecx, 0x20c
call fcn.004d0460
cmp eax, 1
jne 0x4c9b81
mov edx, dword [esp + 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004cfd40
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c9b8d
mov ecx, dword [eax]
add eax, 6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 1
mov dword [esp + 0x10], eax
jne 0x4c9b3f
push eax
call fcn.004c72a0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x28], edx
push eax
call fcn.004c6fc0
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esp + 0x10], ecx
push ecx
push ebp
mov ecx, edi
call fcn.004c8b80
mov ebx, dword [esp + 0x90]
test ebx, ebx
je 0x4c9b81
mov eax, dword [esp + 0x10]
push eax
call fcn.00471ab0
mov edx, dword [esp + 0x14]
add esp, 4
add eax, edx
mov ecx, ebx
push eax
call fcn.00514473
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c9c47
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cd2b0
cmp dword [esp + 0x14], 1
jne 0x4c9c47
jmp 0x4c9c3f
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push ecx
push 0
push 0
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edi + 0xcc]
push esi
push edx
call fcn.0044f260
test eax, eax
je 0x4c9c25
cmp dword [esp + 0x14], 1
jne 0x4c9c00
mov eax, dword [esp + 0x10]
push eax
call fcn.004c72a0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov ecx, edi
push edx
push ebp
call fcn.004c8b80
mov eax, dword [esp + 0x80]
add eax, 8
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cd2b0
cmp dword [esp + 0x14], 1
jne 0x4c9c47
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x80]
add eax, 8
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4c974a.38
cmp dword [esp + 0x14], 1
jne 0x4c9c6e
mov dword [esp + 0x20], 0
push 0x581278
mov ecx, ebp
inc esi
call fcn.005146c6
push 0x591db8
mov ecx, ebp
call fcn.005146c6
jmp case.0x4c974a.38
inc esi
cmp bl, 0x3b
jne 0x4c9cb1
mov ecx, dword [esi]
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.004dc070
add esp, 8
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.005146c6
add esi, 4
push 0x591dbc
mov ecx, ebp
call fcn.005146c6
jmp case.0x4c974a.38
lea ecx, [esp + 0x24]
inc esi
call fcn.005142c1
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push esi
call fcn.004cd380
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00514702
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x4c9d09
push 0x591dbc
mov ecx, ebp
call fcn.005146c6
mov ecx, esi
call fcn.004c7bc0
add esi, eax
jmp case.0x4c974a.38
mov ecx, dword [edi + 0xcc]
push esi
mov dword [esp + 0x3c], ebx
call fcn.004cf630
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
call fcn.004c7bc0
add esi, eax
jmp case.0x4c974a.38
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
test eax, eax
pop ebp
je 0x4c9d50
mov edx, ecx
mov esi, dword [esp + 0x24]
dec edx
neg edx
sbb edx, edx
not edx
and edx, esi
mov dword [eax], edx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4c9d6a
mov edx, dword [esp + 0x1c]
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0xffffffff
call fcn.00514336
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14