Function at 0x1d50c80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, ecx
mov dword [esp + 0x28], 1
push esi
mov esi, edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], esi
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
push edi
test esi, esi
je 0x1d50ec1
cmp byte [eax + 0x1e], 0
jne 0x1d50ec1
cmp dword [ebx + 0x40], 0
jne 0x1d50ec1
push 0x2c
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.01d746e0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edi, dword [esp + 0x18]
cmp byte [ecx], 4
ja 0x1d50cfc
mov edx, dword [esi + 0x18]
mov ecx, edi
call fcn.01d40510
mov ecx, 0xfffe
mov dword [esi + 0x18], 0
and word [esi + 6], cx
push 0
mov edx, esi
mov ecx, ebx
call fcn.01d50940
mov eax, dword [esi + 0x18]
add esp, 4
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
jne 0x1d519d5
cmp byte [edi + 0x1e], 0
jne 0x1d519d5
movzx eax, word [esi + 6]
mov ecx, ebx
shr eax, 2
and eax, 1
mov dword [esp + 0x2c], eax
call fcn.01d4e7b0
mov dword [esp + 0x14], eax
test eax, eax
je 0x1d519d5
mov ecx, dword [esi + 0x1c]
xor edi, edi
test ecx, ecx
jne 0x1d50e5a
mov edx, dword [esp + 0x40]
movsx eax, word [edx]
cmp edi, eax
jge 0x1d50e5a
lea eax, [edi*8]
sub eax, edi
mov ecx, dword [edx + eax*8 + 0x18]
lea eax, [edx + eax*8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x1d50e4e
cmp byte [eax + 0x1c], 0
jne 0x1d50e4e
mov ecx, esi
call fcn.01d3f760
add dword [ebx + 0x208], eax
mov edx, esi
mov eax, dword [esp + 0x34]
mov ecx, ebx
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x30]
mov dword [esp + 0x30], eax
push edi
call fcn.01d4fc80
add esp, 0xc
test eax, eax
je 0x1d50de5
cmp dword [esp + 0x28], 0
je 0x1d50de0
or word [esi + 6], 4
mov dword [esp + 0x2c], 1
or edi, 0xffffffff
jmp 0x1d50e19
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xd0]
mov edx, 9
push dword [eax + 0x20]
call fcn.01d4d240
mov edx, dword [esp + 0x38]
add esp, 4
mov eax, ecx
mov ecx, ebx
push eax
call fcn.01d50c80
mov eax, dword [esp + 0x10]
add esp, 4
mov byte [eax + 0x1c], 1
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1d519d5
mov ecx, esi
call fcn.01d3f760
sub dword [ebx + 0x208], eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
mov dword [esp + 0x40], edx
cmp byte [eax], 4
jbe 0x1d50e4e
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x1c]
inc edi
test ecx, ecx
je 0x1d50d62
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], eax
movzx eax, word [esi + 6]
and eax, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x1d50ee3
cmp dword [esi + 0x24], 0
jne 0x1d50ecd
xor edx, edx
mov eax, esi
xor ecx, ecx
mov dword [eax + 0x20], edx
inc ecx
mov dword [eax + 0x24], esi
mov edx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x1d50e94
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x1d50ecd
cmp ecx, eax
jle 0x1d50ecd
push 0x5242b8
push ebx
call fcn.01d2a480
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, esi
mov ecx, ebx
call fcn.01d4e950
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edx]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.01d4d9a0
add esp, 4
test eax, eax
jne 0x1d519d5
mov al, byte [esi + 6]
and al, 5
cmp al, 1
jne 0x1d50f2f
mov edx, dword [esi]
mov ecx, dword [esp + 0x18]
push 0
call fcn.01d3ffa0
mov dword [esp + 0x20], eax
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esp + 0x44], eax
mov eax, 0xfffe
and word [esi + 6], ax
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x1d50f75
mov edx, edi
mov ecx, ebx
call fcn.01d4dd90
mov ecx, eax
mov edx, 0x28
mov eax, dword [ebx + 0x44]
mov dword [edi + 8], eax
inc dword [ebx + 0x44]
mov eax, dword [edi]
push 0xfffffffffffffff0
push ecx
push 0
add eax, 2
push eax
push dword [edi + 8]
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.01d36720
add esp, 0x14
mov dword [esp + 0x24], eax
mov dword [esi + 0x40], eax
jmp 0x1d50f81
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1d50fa1
mov ecx, dword [esp + 0x58]
mov edx, 0x28
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.01d36700
add esp, 8
mov ecx, edi
call fcn.01d36760
push eax
mov edx, esi
mov dword [esp + 0xac], eax
mov ecx, ebx
call fcn.01d4e7d0
add esp, 4
cmp dword [esp + 0xc], 0
je 0x1d50ff3
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x4c], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [esi]
call fcn.01d4dd90
push 0xfffffffffffffff0
push eax
push 0
push 0
push dword [esp + 0x5c]
mov edx, 0x28
mov ecx, edi
call fcn.01d36720
add esp, 0x14
jmp 0x1d50ffb
mov dword [esp + 0x4c], 0xffffffff
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0x1c]
jne 0x1d51096
test edx, edx
jne 0x1d5109a
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x50]
mov ecx, ebx
call fcn.01d56090
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x1d519d5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
test edx, edx
js 0x1d51067
test eax, eax
jne 0x1d51067
push 1
mov ecx, edi
call fcn.01d36b90
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x40], 0xffffffff
push dword [ecx + 0x14]
mov edx, esi
push dword [ecx + 0x10]
mov ecx, dword [ebp + 8]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [esp + 0x74]
mov ecx, ebx
call fcn.01d4d9d0
mov ecx, dword [esp + 0x54]
add esp, 0x20
call fcn.01d56770
jmp 0x1d51980
test edx, edx
je 0x1d510d4
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x1d510ba
add ecx, 0x10
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x1d510a8
mov esi, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
test eax, eax
jle 0x1d510d4
add ecx, 0x10
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x1d510c6
mov ecx, edi
call fcn.01d36760
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x78]
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xc8], eax
test ecx, ecx
je 0x1d51139
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0xac]
call fcn.01d43250
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xac]
call fcn.01d43250
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1d51176
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.01d43220
cmp dword [esp + 0x9c], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
jle 0x1d511c0
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0xac]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x10]
call fcn.01d43250
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0x9c]
jl 0x1d51192
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1d519d5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1d5174c
mov eax, dword [ebx + 0x44]
mov edx, ecx
mov dword [esp + 0x7c], eax
mov ecx, ebx
inc eax
mov dword [ebx + 0x44], eax
call fcn.01d4dd90
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0x90]
mov edx, 0x28
mov dword [esp + 0xb4], eax
push dword [esp + 0x8c]
mov ecx, edi
call fcn.01d36720
mov dword [esp + 0x88], eax
add esp, 0x14
mov eax, dword [ebx + 0x48]
mov ecx, edi
inc eax
mov dword [esp + 0x70], eax
inc eax
mov dword [esp + 0x38], eax
inc eax
mov dword [ebx + 0x48], eax
call fcn.01d36760
inc dword [ebx + 0x48]
mov ecx, edi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xc], eax
call fcn.01d36760
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x38]
mov dword [esp + 0x28], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x64], eax
mov dword [ebx + 0x48], ecx
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [ebx + 0x48], eax
call fcn.01d36700
push dword [esp + 0x78]
mov edx, 7
mov ecx, edi
push 0
call fcn.01d36700
push dword [esp + 0x34]
mov edx, 2
mov ecx, edi
push dword [esp + 0x20]
call fcn.01d36700
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push 0
push eax
push dword [esp + 0x68]
mov ecx, ebx
call fcn.01d56090
add esp, 0x24
mov dword [esp + 0x28], eax
test eax, eax
je 0x1d519d5
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1d512e9
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], eax
jmp 0x1d514ac
cmp dword [esp + 0x8c], 0
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 1
lea edx, [eax + 1]
mov eax, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], eax
jle 0x1d5134f
mov esi, dword [esp + 0x88]
mov edi, eax
mov ebx, dword [esp + 0x8c]
add esi, 0xc
cmp dword [esi], edx
lea eax, [edi + 1]
lea esi, [esi + 0x18]
cmovl eax, edi
mov edi, eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub ebx, 1
jne 0x1d51321
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, eax
mov ecx, ebx
call fcn.01d432f0
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.01d41350
mov edx, dword [esp + 0x44]
mov ecx, ebx
push 0
push dword [esp + 0x30]
call fcn.01d426b0
mov eax, dword [esp + 0x34]
mov edx, 0x34
add eax, dword [esp + 0x58]
mov ecx, edi
push eax
push dword [esp + 0x88]
call fcn.01d36700
add esp, 0x10
mov dword [esp + 0x44], 0
cmp dword [esp + 0x8c], 0
jle 0x1d51425
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
add esi, ecx
xor edx, edx
mov dword [esp + 0x50], edx
nop dword [eax]
mov eax, dword [esp + 0x88]
cmp dword [edx + eax + 0xc], ecx
jl 0x1d51408
push 0
push esi
push dword [edx + eax + 4]
mov ecx, ebx
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.01d41280
add esp, 0x10
cmp esi, eax
je 0x1d513fa
push esi
push eax
mov edx, 0xf
mov ecx, edi
call fcn.01d36700
add esp, 8
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x5c], ecx
inc esi
mov eax, dword [esp + 0x44]
add edx, 0x18
inc eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x8c]
jl 0x1d513c0
mov esi, dword [esp + 0x54]
mov ecx, ebx
call fcn.01d43290
mov ecx, dword [esp + 0x14]
mov edi, eax
push edi
push dword [esp + 0x20]
mov edx, 0x1e
push dword [esp + 0x34]
call fcn.01d36650
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x43
push edi
push dword [esp + 0x80]
call fcn.01d36700
mov edx, edi
mov ecx, ebx
call fcn.01d432b0
push dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, ebx
call fcn.01d43350
mov ecx, dword [esp + 0x34]
add esp, 0xc
call fcn.01d56770
push dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, 0x3f
push dword [esp + 0x80]
mov ecx, edi
call fcn.01d36700
add esp, 8
mov byte [esp + 0x79], 1
mov ecx, ebx
call fcn.01d41350
mov ecx, edi
call fcn.01d2d0d0
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.01d41350
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
test ecx, ecx
jle 0x1d51526
xor eax, eax
xor esi, esi
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x68]
add ecx, esi
cmp dword [esp + 0x48], 0
push ecx
je 0x1d514f7
push esi
push dword [esp + 0x84]
mov edx, 0x1c
mov ecx, edi
call fcn.01d36650
add esp, 0xc
jmp 0x1d5150c
mov byte [esp + 0x7c], 1
mov ecx, ebx
mov edx, dword [edx + 0xc]
mov edx, dword [edx + eax]
call fcn.01d42480
add esp, 4
mov edx, dword [esp + 0x30]
inc esi
mov eax, dword [esp + 0x50]
add eax, 0x14
mov dword [esp + 0x50], eax
mov ecx, dword [edx]
cmp esi, ecx
jl 0x1d514d0
mov esi, dword [esp + 0x54]
push 0xfffffffffffffffa
push dword [esp + 0xa8]
mov edx, 0x18
push ecx
push dword [esp + 0x74]
mov ecx, edi
push dword [esp + 0x70]
call fcn.01d36720
add esp, 0x14
mov ecx, edi
call fcn.01d2d0d0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov edx, 0x19
lea eax, [edi + 1]
push eax
push 0
push eax
call fcn.01d36650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x68]
push dword [ecx]
mov ecx, ebx
push dword [esp + 0x64]
call fcn.01d41460
mov eax, dword [esp + 0x40]
mov edx, 2
push dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
inc eax
push eax
call fcn.01d36700
push dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, 0x70
push dword [esp + 0x4c]
call fcn.01d36700
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, 2
push dword [esp + 0x28]
call fcn.01d36700
mov edx, edi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.01d369e0
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.01d50ae0
push dword [esp + 0x90]
mov edx, 7
mov ecx, edi
push 1
call fcn.01d36700
add esp, 0x28
cmp dword [esp + 0x48], 0
je 0x1d51617
push dword [esp + 0x5c]
mov edx, 0x42
mov ecx, edi
push dword [esp + 0x80]
call fcn.01d36700
add esp, 8
jmp 0x1d51630
mov ecx, dword [esp + 0x28]
call fcn.01d56770
mov edx, dword [esp + 0x74]
mov ecx, edi
push 1
call fcn.01d36b90
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, 2
push dword [esp + 0x6c]
inc eax
mov ecx, edi
push eax
call fcn.01d36700
push dword [esp + 0x28]
mov edx, 1
mov ecx, edi
push 0
call fcn.01d36700
mov ecx, edi
call fcn.01d2d0d0
push dword [esp + 0x48]
mov edx, 7
mov ebx, eax
push 1
call fcn.01d36700
mov eax, dword [esp + 0x50]
mov edx, 3
inc eax
mov ecx, edi
push eax
call fcn.01d366e0
mov edx, dword [esp + 0x88]
add esp, 0x1c
mov ecx, edi
call fcn.01d367c0
call fcn.01d2d0d0
mov edi, eax
mov edx, 0x70
lea eax, [edi + 2]
push eax
push dword [esp + 0x74]
call fcn.01d36700
mov eax, dword [esp + 0x40]
mov edx, 3
mov ecx, dword [esp + 0x1c]
inc eax
push eax
call fcn.01d366e0
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x84]
add esp, 0xc
call fcn.01d50a80
mov edx, dword [esp + 0x34]
inc edi
mov ecx, dword [esp + 0x64]
push 8
push edi
call fcn.01d42a70
push ebx
mov ebx, dword [esp + 0x70]
mov edx, esi
push edi
push dword [ebp + 8]
mov ecx, ebx
push dword [esp + 0x60]
push dword [esp + 0x54]
push 0
push 0
push dword [esi]
call fcn.01d4d9d0
mov eax, dword [esp + 0x60]
mov edx, 3
mov edi, dword [esp + 0x3c]
inc eax
push eax
mov ecx, edi
call fcn.01d366e0
mov edx, dword [esp + 0x50]
add esp, 0x2c
mov ecx, edi
call fcn.01d367c0
lea edx, [esp + 0x78]
mov ecx, ebx
call fcn.01d509a0
push dword [esp + 0xc]
mov edx, 3
mov ecx, edi
call fcn.01d366e0
add esp, 4
jmp 0x1d51975
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], 0
mov ecx, esi
call fcn.01d50240
mov dword [esp + 0xc], eax
test eax, eax
je 0x1d5184c
mov ecx, dword [ebx]
mov edx, dword [eax + 0x40]
call fcn.01d4ce00
mov ecx, dword [esp + 0xc]
mov edx, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x24], eax
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x18]
mov ecx, ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x28], eax
call fcn.01d46dd0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1d517e7
xor edx, edx
nop dword [eax + eax]
test edx, edx
je 0x1d517bc
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x1d517be
mov edx, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1d517b0
test edx, edx
je 0x1d517e7
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 0xc]
jge 0x1d517e7
mov eax, dword [edx + 0x14]
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.01d46ed0
mov dword [esp + 0x60], eax
push dword [esp + 0x74]
mov edx, 0x26
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.01d36650
mov eax, dword [esp + 0x6c]
add esp, 0xc
test eax, eax
je 0x1d5181a
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.01d36be0
add esp, 8
mov eax, dword [esp + 0x98]
mov edx, 0x1f
mov ecx, edi
push dword [eax + 8]
push dword [esp + 0x28]
call fcn.01d36700
push dword [esp + 0x2c]
mov edx, 0x2a
mov ecx, edi
call fcn.01d366e0
add esp, 0xc
jmp 0x1d51930
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.01d501d0
mov byte [esp + 0x13], al
test al, al
je 0x1d518a9
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push 0
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.01d3ffa0
mov edx, eax
add esp, 4
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], edx
test edx, edx
je 0x1d518a9
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1d518a9
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x78]
mov ecx, ebx
call fcn.01d509a0
movzx eax, byte [esp + 0x13]
mov ecx, ebx
mov edx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call fcn.01d56090
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1d518eb
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
call fcn.01d40510
jmp 0x1d519d5
lea edx, [esp + 0x78]
mov ecx, ebx
call fcn.01d50ae0
cmp dword [esp + 0xc], 0
jne 0x1d5191c
cmp byte [esp + 0x13], 0
je 0x1d5191c
mov eax, dword [esp + 0x28]
mov edx, 1
mov ecx, edi
push dword [eax + 0x14]
push 0
call fcn.01d36700
add esp, 8
mov ecx, dword [esp + 0x28]
call fcn.01d56770
lea edx, [esp + 0x78]
mov ecx, ebx
call fcn.01d50a80
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 8
push dword [esp + 0x24]
mov dword [esp + 0x44], 0
call fcn.01d42a70
mov eax, dword [esp + 0x28]
mov edx, esi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [esi]
call fcn.01d4d9d0
mov edx, dword [esp + 0x74]
add esp, 0x28
mov ecx, dword [esp + 0x18]
call fcn.01d40510
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.01d367c0
cmp dword [esp + 0x3c], 0
je 0x1d5199d
mov eax, dword [esp + 0x58]
mov edx, esi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
push edi
call fcn.01d4de30
add esp, 0xc
mov edx, dword [esp + 0xa8]
mov ecx, edi
call fcn.01d367c0
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x1d519d5
push dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.01d4e2a0
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x30], eax
push dword [esp + 0x88]
push dword [esp + 0x1c]
call fcn.01d28650
push dword [esp + 0xa0]
push dword [esp + 0x24]
call fcn.01d28650
mov eax, dword [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret