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

Disassembly:
push 0xffffffffffffffff
push 0x553d4a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4c1fcc
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
jmp 0x4c1fe7
push edi
lea ecx, [esp + 0x58]
call fcn.004ad770
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ebp, edx
mov esi, dword [0x56063c]
lea eax, [edi + 0x248]
push eax
mov dword [esp + 0x28], ebp
call esi
lea eax, [edi + 0x22c]
push eax
call esi
mov ecx, edi
call fcn.00480140
mov edx, dword [edi]
mov edx, dword [edx + 0x1b0]
mov ebx, eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
mov ecx, edi
call fcn.0047f830
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push 0
push 0
push edi
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
cmp dword [edi + 0x1b8], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
je 0x4c209e
mov ecx, edi
call fcn.0047f830
push 0
push 0
sub esp, 0x10
mov esi, eax
mov dword [esp + 0x8c], esp
mov eax, esp
push 0
push eax
call dword [0x560744]
mov edx, dword [esi]
mov edx, dword [edx + 0xc0]
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp dword [edi + 0x1dc], 0
je 0x4c20b7
mov edx, dword [edi + 0x1d8]
sub edx, dword [edi + 0x1d0]
add dword [esp + 0x50], edx
mov ecx, dword [edi + 0xfc]
push 0x23be
call fcn.00488ad0
cmp dword [edi + 0x1ac], 0
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
je 0x4c216b
mov ecx, edi
call fcn.0047f830
mov edx, dword [eax]
mov edx, dword [edx + 0xb8]
push 0
push 0
push edi
push 0
push 1
push 0
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
test esi, esi
jne 0x4c216f
push 0x174
call fcn.0041f52e
add esp, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], esi
test eax, eax
je 0x4c213c
mov ecx, eax
call fcn.004c1350
jmp 0x4c213e
xor eax, eax
mov ecx, dword [edi + 0xfc]
push 1
push 0xffffffffffffffff
push 0x5913d8
push 0x23be
push eax
mov dword [esp + 0x80], 0xffffffff
call fcn.00489f20
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x4c216f
test esi, esi
je 0x4c217d
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 1
mov ecx, esi
call eax
cmp dword [esp + 0x78], 0
jne 0x4c240d
cmp dword [edi + 0x224], 1
jne 0x4c219b
mov dword [edi + 0x224], 0
cmp dword [edi + 0x224], 0
mov eax, dword [esp + 0x48]
mov ebx, eax
je 0x4c21c8
mov edx, dword [esp + 0x44]
lea ebx, [eax + 0x10]
push ebx
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x248]
push eax
call dword [0x5605d0]
mov esi, dword [edi + 0x224]
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], esi
jge 0x4c22c5
jmp 0x4c21ea
mov esi, dword [esp + 0x74]
push esi
mov ecx, edi
call fcn.00480150
mov esi, eax
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4c22ae
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
cmp dword [esi + 0x98], 0
mov dword [esp + 0x5c], edx
je 0x4c224c
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
sub ecx, eax
sub ecx, ebx
add edx, 0x10
cmp ecx, edx
jge 0x4c2272
cmp dword [esp + 0x78], 0
je 0x4c22c1
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add eax, ebx
mov dword [esp + 0x20], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x74]
mov ecx, esi
mov dword [esp + 0x88], 0
call eax
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
jl 0x4c21e6
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x18]
cmp esi, ebx
jge 0x4c22f7
lea ecx, [ecx]
push esi
mov ecx, edi
call fcn.00480150
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x8c]
or ecx, 8
push ecx
mov ecx, eax
call edx
inc esi
cmp esi, ebx
jl 0x4c22d0
mov esi, dword [esp + 0x74]
mov dword [edi + 0x228], esi
cmp esi, ebx
je 0x4c232d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, eax
sub edx, ecx
push edx
mov edx, ebp
sub edx, dword [esp + 0x50]
sub eax, ecx
push edx
sub eax, 0x10
push eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [edi + 0x22c]
push eax
call dword [0x5605d0]
mov esi, dword [esp + 0x14]
cmp dword [edi + 0x1ac], 0
je 0x4c2383
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov esi, dword [esi]
add ecx, eax
mov dword [esp + 0x60], ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov edx, ebp
sub edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x74]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x24]
call eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [0x5605d0]
mov esi, dword [esp + 0x28]
push eax
sub eax, dword [esp + 0x3c]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x1bc]
push eax
call ebx
cmp dword [edi + 0x1dc], 0
je 0x4c23e0
mov edx, dword [edi + 0x1d8]
sub edx, dword [edi + 0x1d0]
mov ecx, dword [esp + 0x50]
sub ebp, dword [esp + 0x4c]
lea eax, [edi + 0x1cc]
sub edx, ecx
add edx, esi
push edx
push ebp
sub esi, ecx
mov ecx, dword [esp + 0x4c]
push esi
push ecx
push eax
call ebx
cmp dword [esp + 0x7c], 0
je 0x4c23f7
mov edx, dword [edi]
mov eax, dword [edx + 0x1a4]
push 1
push 0
mov ecx, edi
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
lea ecx, [ebx - 1]
cmp dword [edi + 0x228], ecx
jne 0x4c241e
mov dword [edi + 0x228], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub eax, ecx
mov ebx, eax
mov dword [esp + 0x78], ebx
cmp dword [edi + 0x228], edx
je 0x4c2468
mov edx, dword [esp + 0x28]
push eax
mov eax, ebp
sub eax, dword [esp + 0x50]
sub edx, ecx
push eax
mov eax, dword [esp + 0x4c]
sub edx, 0x10
push edx
push eax
lea eax, [edi + 0x22c]
sub ebx, 0x10
push eax
mov dword [esp + 0x8c], ebx
call dword [0x5605d0]
mov eax, dword [edi + 0x228]
sub eax, 1
mov dword [esp + 0x74], eax
js 0x4c2532
jmp 0x4c2484
mov eax, dword [esp + 0x74]
push eax
mov ecx, edi
call fcn.00480150
mov esi, eax
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4c251f
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
sub ebx, eax
cmp ebx, 0x10
mov dword [esp + 0x5c], edx
jl 0x4c252a
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax], edx
mov edx, dword [ebp + 0x74]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
cmp dword [esi + 0x98], 0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x78], ebx
je 0x4c251f
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
sub dword [esp + 0x74], 1
jns 0x4c2480
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ebx, eax
test eax, eax
jl 0x4c255f
push ebx
mov ecx, edi
call fcn.00480150
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x8c]
or ecx, 8
push ecx
mov ecx, eax
call edx
sub ebx, 1
jns 0x4c2538
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
mov dword [edi + 0x224], ecx
cmp eax, 0xffffffff
je 0x4c2331
mov eax, dword [esp + 0x48]
lea edx, [eax + 0x10]
push edx
mov edx, dword [esp + 0x48]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x248]
push eax
call dword [0x5605d0]
jmp 0x4c2331