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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1d74731
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x1dbb89c]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
xor ecx, ecx
mov edx, 0x30
mul edx
seto cl
mov dword [esp + 0x38], ebx
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
xor esi, esi
add esp, 4
mov dword [ebx + 0xc], eax
cmp eax, esi
jne 0x1d51d81
push 8
call dword [0x1da3b34]
xor al, al
jmp 0x1d522fa
mov ecx, dword [ebx + 4]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push esi
push eax
call fcn.01d38fa0
add esp, 0xc
mov dword [esp + 0x3c], esi
cmp dword [ebx + 4], esi
jbe 0x1d522f8
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
jmp 0x1d51db6
mov esi, dword [esp + 0x20]
mov ebx, ecx
mov edx, dword [ebx + 8]
mov ecx, dword [esi + edx]
mov eax, dword [ecx]
mov edi, dword [ebx + 0xc]
mov edx, dword [eax + 4]
add edi, dword [esp + 0x30]
call edx
test al, al
je 0x1d51d7a
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esi + eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x24]
push eax
push 0x28
push edi
lea eax, [esp + 0x20]
push eax
call edx
test al, al
je 0x1d51d7a
mov eax, 0x28
cmp dword [esp + 0x24], eax
jne 0x1d51d7a
test byte [edi + 0x1e], 4
jne 0x1d51e22
xor eax, eax
mov word [edi + 0x24], ax
mov byte [edi + 0x26], al
mov byte [edi + 0x27], al
add dword [esp + 0x14], 0x24
adc dword [esp + 0x18], eax
jmp 0x1d51e2b
add dword [esp + 0x14], eax
adc dword [esp + 0x18], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0xc]
movzx eax, word [ecx + edx + 0x24]
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
test byte [edi + 0x1e], 1
je 0x1d51eae
lea ecx, [esp + 0x7c]
call fcn.01d26ef0
mov dword [esp + 0x288], 0
mov edx, dword [ebx + 8]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edx + esi]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.01d49100
test al, al
je 0x1d52320
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [eax + esi]
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, ebx
call fcn.01d49100
test al, al
je 0x1d52320
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d26680
test byte [edi + 0x1e], 2
je 0x1d51f28
lea ecx, [esp + 0x124]
call fcn.01d26ef0
mov dword [esp + 0x288], 1
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x124]
push edx
mov edx, dword [ecx + esi]
lea eax, [esp + 0x18]
push eax
push edx
mov ecx, ebx
call fcn.01d49100
test al, al
je 0x1d52338
mov edx, dword [ebx + 8]
lea eax, [esp + 0x124]
push eax
mov eax, dword [edx + esi]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.01d49100
test al, al
je 0x1d52338
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x124]
call fcn.01d26680
movzx eax, word [edi + 0x1a]
xor ecx, ecx
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x1d51d72
movzx ecx, word [edi + 0x1a]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
call fcn.01d38fa0
movzx eax, word [edi + 0x1a]
mov esi, dword [edi + 0x28]
lea edx, [eax + eax*2]
lea eax, [esi + edx*8]
add esp, 0xc
cmp esi, eax
jae 0x1d52018
mov edi, edi
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x24]
push edx
push 8
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x20]
push edx
call eax
test al, al
je 0x1d51d7a
cmp dword [esp + 0x24], 8
jne 0x1d51d7a
xor ecx, ecx
cmp word [esp + 0x4a], cx
jne 0x1d52353
mov edx, dword [esp + 0x44]
movzx eax, word [esp + 0x48]
mov dword [esi], edx
mov dword [esi + 8], eax
mov edx, 0x18
mul edx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ecx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
mov dword [esi + 0xc], eax
movzx eax, byte [edi + 0x26]
add eax, 8
add esp, 4
add dword [esp + 0x14], eax
adc dword [esp + 0x18], 0
movzx eax, word [edi + 0x1a]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
add esi, 0x18
lea eax, [edx + ecx*8]
cmp esi, eax
jb 0x1d51f80
movzx eax, word [edi + 0x1c]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1d51d72
movzx ecx, word [edi + 0x1c]
shl ecx, 4
push ecx
push 0
push eax
call fcn.01d38fa0
mov edx, dword [edi + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
movzx eax, word [edi + 0x1c]
mov ebx, dword [edi + 0x2c]
shl eax, 4
add eax, ebx
add esp, 0xc
cmp ebx, eax
jae 0x1d522d8
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x24]
push edx
push 0x10
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x20]
push edx
call eax
test al, al
je 0x1d51d7a
cmp dword [esp + 0x24], 0x10
jne 0x1d51d7a
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 8], edx
mov dx, word [esp + 0x54]
mov dword [ebx + 4], ecx
movzx ecx, dx
mov eax, ecx
sub eax, 0xfffd
je 0x1d52108
sub eax, 1
je 0x1d520f6
sub eax, 1
je 0x1d520ef
cmp word [edi + 0x1a], dx
jbe 0x1d52362
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + 0x28]
lea edx, [ecx + eax*8]
mov dword [ebx], edx
jmp 0x1d5210d
mov eax, dword [edi + 0x28]
mov dword [ebx], eax
jmp 0x1d5210d
movzx eax, word [edi + 0x1a]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8 - 0x18]
mov dword [ebx], eax
jmp 0x1d5210d
mov ecx, dword [edi + 0x28]
mov dword [ebx], ecx
add dword [esp + 0x14], 0x10
lea ecx, [esp + 0x1cc]
adc dword [esp + 0x18], 0
call fcn.01d26ef0
mov dword [esp + 0x288], 2
mov ecx, dword [esi + 8]
lea edx, [esp + 0x1cc]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx + edx]
push eax
mov ecx, esi
call fcn.01d49100
test al, al
je 0x1d52379
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0xc], 0
call fcn.01cb6d30
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
jmp 0x1d52180
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
cmp dword [eax + 0xc], ecx
jbe 0x1d52199
call fcn.01d38f43
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test esi, esi
je 0x1d521a3
cmp esi, eax
je 0x1d521a8
call fcn.01d38f43
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x2c], eax
je 0x1d522ac
test esi, esi
jne 0x1d52213
call fcn.01d38f43
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x10]
jb 0x1d521cd
call fcn.01d38f43
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [esp + 0x1d4]
call fcn.01d26000
test eax, eax
jne 0x1d52298
push 1
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x30]
call fcn.01d4c370
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x1d5220f
call fcn.01d38f43
mov eax, dword [esi]
test eax, eax
je 0x1d52217
mov eax, dword [eax]
jmp 0x1d52219
mov esi, dword [esi]
jmp 0x1d521bf
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x1d52226
call fcn.01d38f43
mov esi, dword [esi + 4]
mov esi, dword [esi + 4]
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1d52371
push 1
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
call fcn.01d4c370
mov ecx, eax
call fcn.01cb5ed0
mov esi, dword [eax + 4]
push 1
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x30]
call fcn.01d4c370
mov ecx, eax
call fcn.01cb5ed0
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
lea edx, [esi + esi + 2]
push edx
push eax
push ecx
call fcn.01d398c0
add esp, 0xc
push 2
lea ecx, [esp + 0x2c]
call fcn.01c64230
mov esi, dword [esp + 0x28]
jmp 0x1d52180
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x1cc]
call fcn.01d26680
movzx edx, word [edi + 0x1c]
shl edx, 4
add edx, dword [edi + 0x2c]
add ebx, 0x10
cmp ebx, edx
jb 0x1d52076
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x30], 0x30
add dword [esp + 0x20], 4
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [ecx + 4]
jb 0x1d51db0
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.01d389aa
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d26680
xor al, al
jmp 0x1d522fa
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x124]
call fcn.01d26680
xor al, al
jmp 0x1d522fa
push 0x26a
call dword [0x1da3b34]
xor al, al
jmp 0x1d522fa
push 0x54f
call dword [0x1da3b34]
xor al, al
jmp 0x1d522fa
push 8
call dword [0x1da3b34]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x1cc]
call fcn.01d26680
xor al, al
jmp 0x1d522fa