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

Disassembly:
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x24]
mov edi, dword [ebx + 0xc]
add edi, eax
push edi
mov dword [esp + 0x18], eax
call fcn.4001d952
add esp, 4
test al, al
jne 0x4001d9eb
add ebx, 0x14
mov dword [esp + 0x18], ebx
jmp 0x4001dc54
push edi
call 0x3f826988
mov esi, eax
call 0x4001cc91
test al, al
jne 0x4001da4e
push edi
call fcn.4001c408
mov esi, eax
add esp, 4
test esi, esi
je 0x4001dd7f
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push esi
call 0x3f831de2
mov edx, dword [0x4000003f]
push esi
push 0
push edx
mov dword [esp + 0x1c], eax
call dword [0x40000008]
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x4001da7c
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], 0x7d00
jmp 0x4001daaa
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x4001da6c
jmp 0x4001da60
cmp dword [eax + 0x2c], esi
je 0x4001da6e
mov eax, dword [eax + 8]
test eax, eax
jne 0x4001da60
xor eax, eax
mov esi, eax
mov dword [esp + 0x20], esi
test eax, eax
je 0x4001dd72
mov ebx, dword [esp + 0x2c]
push ebx
mov edi, esi
call 0x4081c201
cmp eax, 0x7d00
jne 0x4001dd8c
push edi
mov esi, ebx
call 0x4001daf8
cmp eax, 0x7d00
jne 0x4001dd8c
mov esi, dword [esp + 0x20]
cmp byte [ebx + 0x16], 0
jne 0x4001dc4b
test esi, esi
je 0x4001dc4b
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx]
add edi, dword [esp + 0x14]
je 0x4001dada
mov edx, dword [esp + 0x14]
push edx
call 0x4001d9d4
test al, al
je 0x4001dada
mov esi, dword [ebx]
jmp 0x4001dadd
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
add esi, dword [esp + 0x14]
add eax, dword [esp + 0x14]
push 4
push esi
mov dword [esp + 0x38], eax
xor edi, edi
call fcn.40002b32
mov ecx, dword [esp + 0x34]
cmp dword [ecx], 0
je 0x4001db29
inc edi
test al, al
jne 0x4001db00
add ebx, 0x14
mov dword [esp + 0x18], ebx
jmp 0x4001dc54
mov dword [esp + 0x28], edi
test al, al
jne 0x4001db3d
add ebx, 0x14
mov dword [esp + 0x18], ebx
jmp 0x4001dc54
mov dword [esp + 0x38], 0
test edi, edi
jle 0x4001db73
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
push 4
lea ecx, [edi*4]
push ecx
push edx
call dword [0x400000b8]
test eax, eax
jne 0x4001db73
add ebx, 0x14
mov dword [esp + 0x18], ebx
jmp 0x4001dc54
cmp dword [esi], 0
mov dword [esp + 0x34], 0
je 0x4001dc0d
xor edi, edi
mov eax, dword [esp + 0x30]
lea ebx, [edi + eax]
push 4
push ebx
call fcn.4001db19
test al, al
je 0x4001dd72
test ch, dl
add dword [eax], eax
invalid
mov eax, dword [edi + esi]
test eax, eax
jns 0x4001dbb4
mov edx, dword [esp + 0x20]
movzx ecx, ax
push ecx
push edx
call 0x3f82f985
jmp 0x4001dbc6
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 2]
mov ecx, dword [esp + 0x20]
push edx
call 0x4001da72
mov dword [ebx], eax
test eax, eax
jne 0x4001dbf3
mov eax, dword [edi + esi]
test eax, eax
jns 0x4001dbdb
and eax, 0x7fffffff
push eax
jmp 0x4001dbe4
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 2]
push edx
push ebx
call 0x3f81ed86
add esp, 8
mov dword [ebx], 0x4000ad40
mov eax, dword [esp + 0x34]
inc eax
lea edi, [eax*4]
cmp dword [edi + esi], 0
mov dword [esp + 0x34], eax
jne 0x4001db86
cmp dword [esp + 0x10], 0x7d00
jne 0x4001df92
cmp dword [esp + 0x28], 0
jle 0x4001dc4b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [edx*4]
push eax
push ecx
call dword [0x40000000]
test eax, eax
je 0x4001dd72
add dword [esp + 0x18], 0x14
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x10], 0
jne 0x4001d9c2
cmp dword [esp + 0x10], 0x7d00
jne 0x4001df92
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x15], 0
jne 0x4001dc92
cmp byte [ebx + 0x16], 0
jne 0x4001dc92
mov eax, ebx
call fcn.4001baba
mov dword [esp + 0x10], eax
cmp eax, 0x7d00
jne 0x4001df92
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4001df85
call fcn.40015213
test eax, eax
je 0x4001df85
mov eax, dword [eax + 4]
cmp dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
je 0x4001de4a
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, ebx
call 0x3f827682
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4001de29
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
test edi, edi
je 0x4001de24
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [0x400000a7]
mov esi, eax
test esi, esi
je 0x4001de24
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
mov eax, dword [0x4048b1f0]
push ecx
push 0
push eax
call dword [0x40000017]
push esi
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
mov dword [esp + 0x48], eax
call dword [0x40000018]
test eax, eax
je 0x4001de24
cmp dword [esp + 0x30], 0
je 0x4001de24
mov esi, dword [esp + 0x2c]
mov eax, dword [0x4048b1f8]
mov edx, dword [eax + 0xc]
mov ecx, esi
and ecx, 0x7ff
lea edi, [edx + ecx*8]
mov dword [esp + 0x28], eax
cmp dword [edi], esi
jne 0x4001dd99
mov edi, dword [edi + 4]
jmp 0x4001ddc2
mov dword [esp + 0x10], 0x7d27
jmp 0x4001df92
mov dword [esp + 0x10], 0x7d29
jmp 0x4001df92
mov dword [esp + 0x10], 0x7dff
jmp 0x4001df92
push esi
push eax
call fcn.4000c544
test eax, eax
je 0x4001ddea
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
and edx, esi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4001ddbb
mov dword [edi], esi
mov dword [edi + 4], eax
mov edi, eax
mov eax, dword [0x4048b1f8]
test edi, edi
je 0x4001ddee
cmp byte [edi + 0xc], 0
jne 0x4001ddee
cmp byte [edi + 0x15], 0
je 0x4001de0e
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x10], 0
jne 0x4001de0e
mov eax, esi
call 0x3f825920
mov eax, dword [0x4048b1f8]
jmp 0x4001ddf2
xor eax, eax
jmp 0x4001ddbb
mov edi, dword [esp + 0x18]
movzx ecx, byte [edi + 0x10]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
push edx
mov edx, dword [ebx + 0x48]
push ecx
mov ecx, dword [esp + 0x3c]
push esi
push edx
push eax
call 0x4001dcd3
mov eax, dword [esp + 0x30]
mov ecx, dword [0x40000000]
push eax
push 0
push ecx
call dword [0x4000000f]
jmp 0x4001de29
call 0x3f828cee
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
mov dword [esp + 0x18], eax
jne 0x4001dcc6
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4001de70
mov eax, dword [eax + 0x78]
test eax, eax
je 0x4001de70
mov esi, dword [ebx + 0x3c]
add esi, eax
push 0x28
push esi
call fcn.4000afb9
movzx eax, al
neg eax
sbb eax, eax
and eax, esi
jmp 0x4001de72
xor eax, eax
mov ecx, dword [ebx + 0x24]
mov edx, dword [eax + 0x1c]
add edx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x24]
add edx, ecx
cmp dword [eax + 0x18], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 0
jbe 0x4001df85
jmp 0x4001deb0