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

Disassembly:
push 0xffffffffffffffff
push 0x1d497c6
mov eax, dword fs:[0]
push eax
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1d9682c]
xor eax, esp
push eax
lea eax, [esp + 0x538]
mov dword fs:[0], eax
mov edi, dword [esp + 0x548]
push 0
push 0x18
lea eax, [esp + 0x68]
push eax
push 0
push edi
call dword [0x1d7fe18]
test eax, eax
jl 0x1c5a4c0
mov eax, dword [esp + 0x64]
mov esi, dword [0x1d7fdf4]
lea ecx, [esp + 0x20]
push ecx
push 0x228
lea edx, [esp + 0x88]
push edx
push eax
push edi
call esi
test eax, eax
jl 0x1c5a4c0
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x1c5a0cb
mov eax, 0xc000003e
jmp 0x1c5a4c0
lea ecx, [esp + 0x20]
push ecx
push 0x290
lea edx, [esp + 0x2b0]
push edx
push eax
push edi
call esi
test eax, eax
jl 0x1c5a4c0
mov eax, dword [esp + 0x2a8]
push eax
lea ecx, [esp + 0x40]
call fcn.01c57b80
mov dword [esp + 0x540], 0
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
call fcn.01c9bf90
mov ecx, eax
call fcn.01c9bda0
mov ecx, dword [esp + 0x90]
mov ebp, eax
mov eax, dword [esp + 0x2a8]
lea edx, [esp + 0x20]
push edx
push eax
push ebp
push ecx
push edi
call esi
mov esi, eax
test esi, esi
jl 0x1c5a401
mov eax, dword [esp + 0x90]
neg eax
test byte [ebp + 8], 1
je 0x1c5a1ba
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x1c5a15a
add ecx, eax
mov dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1c5a166
add ecx, eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x1c5a172
add ecx, eax
mov dword [ebp + 0x3c], ecx
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1c5a17e
add ecx, eax
mov dword [ebp + 0x44], ecx
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x1c5a18a
add ecx, eax
mov dword [ebp + 0x74], ecx
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
je 0x1c5a196
add ecx, eax
mov dword [ebp + 0x7c], ecx
mov ecx, dword [ebp + 0x84]
test ecx, ecx
je 0x1c5a1a8
add ecx, eax
mov dword [ebp + 0x84], ecx
mov ecx, dword [ebp + 0x8c]
test ecx, ecx
je 0x1c5a1ba
add ecx, eax
mov dword [ebp + 0x8c], ecx
mov edi, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x54c]
add edi, 3
and edi, 0xfffffffc
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x1c5a1f7
mov eax, ebx
lea edx, [eax + 2]
jmp 0x1c5a1e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5a1e0
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2 + 2]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x550]
test eax, eax
je 0x1c5a220
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5a205
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2 + 2]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.01c57b80
mov byte [esp + 0x540], 1
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x28]
call fcn.01c9bf90
mov ecx, eax
call fcn.01c9bda0
mov edx, dword [esp + 0x2a8]
push edx
mov esi, eax
push 0
push ebp
lea eax, [esp + 0x30]
call fcn.01c570a0
add esp, 0xc
test ebx, ebx
je 0x1c5a2a9
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5a270
sub eax, edx
sar eax, 1
add eax, eax
mov word [esi + 0x38], ax
mov word [esi + 0x3a], ax
movzx eax, ax
add eax, 2
push eax
push edi
push ebx
lea eax, [esp + 0x30]
mov dword [esi + 0x3c], edi
call fcn.01c570a0
movzx ecx, word [esi + 0x38]
add esp, 0xc
lea edi, [edi + ecx + 2]
mov ebx, dword [esp + 0x550]
test ebx, ebx
je 0x1c5a2f1
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5a2c0
sub eax, edx
sar eax, 1
add eax, eax
movzx edx, ax
add edx, 2
push edx
mov word [esi + 0x40], ax
mov word [esi + 0x42], ax
push edi
push ebx
lea eax, [esp + 0x30]
mov dword [esi + 0x44], edi
call fcn.01c570a0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x548]
push 4
mov dword [esi + 4], eax
push 0x101000
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
push ebx
mov dword [esp + 0x30], 0
call dword [0x1d7fe4c]
mov edi, eax
test edi, edi
jge 0x1c5a357
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01cb9990
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01cb9990
mov eax, edi
jmp 0x1c5a4c0
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
test byte [ebp + 8], 1
je 0x1c5a3d3
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x1c5a373
add ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1c5a37f
add ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x1c5a38b
add ecx, eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1c5a397
add ecx, eax
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x1c5a3a3
add ecx, eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1c5a3af
add ecx, eax
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x1c5a3c1
add ecx, eax
mov dword [esi + 0x84], ecx
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x1c5a3d3
add ecx, eax
mov dword [esi + 0x8c], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
push ecx
push esi
push edx
push ebx
call dword [0x1d7fdf8]
mov esi, eax
test esi, esi
jge 0x1c5a41c
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01cb9990
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01cb9990
mov eax, esi
jmp 0x1c5a4c0
mov eax, dword [esp + 0x558]
test eax, eax
je 0x1c5a430
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov eax, dword [esp + 0x554]
test eax, eax
je 0x1c5a442
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
push 1
push 4
lea ecx, [esp + 0x90]
mov edi, eax
push ecx
add eax, 8
push eax
push ebx
mov dword [esp + 0xa4], edx
call fcn.01cf1770
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x1c5a3f0
push 1
push 4
lea edx, [esp + 0x98]
push edx
add edi, 0x10
push edi
push ebx
call fcn.01cf1770
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x1c5a3f0
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01cb9990
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01cb9990
xor eax, eax
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x530
ret