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

Disassembly:
push 0xffffffffffffffff
push 0x1d64676
mov eax, dword fs:[0]
push eax
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1dbb89c]
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 [0x1da3b60]
test eax, eax
jl 0x1c5ae50
mov eax, dword [esp + 0x64]
mov esi, dword [0x1da3b38]
lea ecx, [esp + 0x20]
push ecx
push 0x228
lea edx, [esp + 0x88]
push edx
push eax
push edi
call esi
test eax, eax
jl 0x1c5ae50
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x1c5aa5b
mov eax, 0xc000003e
jmp 0x1c5ae50
lea ecx, [esp + 0x20]
push ecx
push 0x290
lea edx, [esp + 0x2b0]
push edx
push eax
push edi
call esi
test eax, eax
jl 0x1c5ae50
mov eax, dword [esp + 0x2a8]
push eax
lea ecx, [esp + 0x40]
call fcn.01c58c10
mov dword [esp + 0x540], 0
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
call fcn.01cb6d30
mov ecx, eax
call fcn.01cb5ed0
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 0x1c5ad91
mov eax, dword [esp + 0x90]
neg eax
test byte [ebp + 8], 1
je 0x1c5ab4a
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x1c5aaea
add ecx, eax
mov dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1c5aaf6
add ecx, eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x1c5ab02
add ecx, eax
mov dword [ebp + 0x3c], ecx
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1c5ab0e
add ecx, eax
mov dword [ebp + 0x44], ecx
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x1c5ab1a
add ecx, eax
mov dword [ebp + 0x74], ecx
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
je 0x1c5ab26
add ecx, eax
mov dword [ebp + 0x7c], ecx
mov ecx, dword [ebp + 0x84]
test ecx, ecx
je 0x1c5ab38
add ecx, eax
mov dword [ebp + 0x84], ecx
mov ecx, dword [ebp + 0x8c]
test ecx, ecx
je 0x1c5ab4a
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 0x1c5ab87
mov eax, ebx
lea edx, [eax + 2]
jmp 0x1c5ab70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5ab70
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 0x1c5abb0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5ab95
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.01c58c10
mov byte [esp + 0x540], 1
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x28]
call fcn.01cb6d30
mov ecx, eax
call fcn.01cb5ed0
mov edx, dword [esp + 0x2a8]
push edx
mov esi, eax
push 0
push ebp
lea eax, [esp + 0x30]
call fcn.01c579d0
add esp, 0xc
test ebx, ebx
je 0x1c5ac39
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5ac00
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.01c579d0
movzx ecx, word [esi + 0x38]
add esp, 0xc
lea edi, [edi + ecx + 2]
mov ebx, dword [esp + 0x550]
test ebx, ebx
je 0x1c5ac81
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c5ac50
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.01c579d0
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 [0x1da3b80]
mov edi, eax
test edi, edi
jge 0x1c5ace7
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01c577d0
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01c577d0
mov eax, edi
jmp 0x1c5ae50
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
test byte [ebp + 8], 1
je 0x1c5ad63
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x1c5ad03
add ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1c5ad0f
add ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x1c5ad1b
add ecx, eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1c5ad27
add ecx, eax
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x1c5ad33
add ecx, eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1c5ad3f
add ecx, eax
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x1c5ad51
add ecx, eax
mov dword [esi + 0x84], ecx
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x1c5ad63
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 [0x1da3b3c]
mov esi, eax
test esi, esi
jge 0x1c5adac
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01c577d0
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01c577d0
mov eax, esi
jmp 0x1c5ae50
mov eax, dword [esp + 0x558]
test eax, eax
je 0x1c5adc0
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov eax, dword [esp + 0x554]
test eax, eax
je 0x1c5add2
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.01d07820
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x1c5ad80
push 1
push 4
lea edx, [esp + 0x98]
push edx
add edi, 0x10
push edi
push ebx
call fcn.01d07820
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x1c5ad80
mov byte [esp + 0x540], 0
lea ecx, [esp + 0x24]
call fcn.01c577d0
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01c577d0
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