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

Disassembly:
mov eax, 0x2070
call fcn.0049cd50
mov eax, dword [0x4cc00c]
xor eax, esp
mov dword [esp + 0x206c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2080]
push edi
mov edi, dword [esp + 0x2088]
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x21d4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x21e4]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
lea ecx, [eax - 3]
neg ecx
lea ebp, [eax - 3]
lea edx, [eax - 3]
sbb ecx, ecx
lea ebx, [eax - 3]
and ecx, 0xffffdcb0
add ecx, 0x6770
neg ebp
mov dword [esp + 0x2c], ecx
lea ecx, [eax - 3]
sbb ebp, ebp
and ebp, 0xffffdcb0
add ebp, 0x5740
neg ecx
sbb ecx, ecx
and ecx, 0xffffdcb0
add ecx, 0x6788
neg edx
mov dword [esp + 0x24], ecx
lea ecx, [eax - 3]
sbb edx, edx
and edx, 0xffffdcb0
add edx, 0x67e3
neg ebx
sbb ebx, ebx
and ebx, 0xffffdcb0
neg ecx
sbb ecx, ecx
sub eax, 3
and ecx, 0xffffdcb0
neg eax
sbb eax, eax
sub edi, 3
and eax, 0xffffdcb0
neg edi
sbb edi, edi
and edi, 0xffffdcb0
add edi, 0x67b1
cmp dword [esp + 0x18], 2
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
je 0x471089
cmp dword [esp + 0x18], 3
jne 0x47109c
mov edi, dword [esp + 0x20]
mov byte [esp + 0x12], 1
cmp byte [esi + edi], 0
mov edi, dword [esp + 0x14]
jne 0x4710a1
mov byte [esp + 0x12], 0
test edi, edi
je 0x47119f
cmp byte [esp + 0x12], 0
je 0x47119f
cmp dword [esi + 0x7df8], 3
je 0x4710f1
cmp dword [esi + eax + 0x5734], 0x14
jb 0x4710d1
cmp dword [esi + ecx + 0x678c], 0xffffffff
jne 0x4710f1
mov eax, dword [esi]
mov ecx, esi
mov bl, byte [esi + 0x7e04]
mov byte [esp + 0x11], bl
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x4711be
movzx ecx, byte [esi + ebx + 0x67e2]
lea eax, [esi + edx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [esp + 0x24]
push ecx
add eax, esi
lea ecx, [edi + 0x98]
push eax
call fcn.00472b50
test al, al
jne 0x47119f
xor eax, eax
mov dword [esp + 0x38], 0x4bb6b4
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
lea eax, [esi + 0x32]
mov dword [esp + 0x30], eax
lea eax, [esi + ebp]
mov dword [esp + 0x3c], 0x4bb6b4
mov dword [esp + 0x40], 0x4bb6b4
mov dword [esp + 0x44], 0x4bb6b4
mov dword [esp + 0x48], 0x4bb6b4
mov dword [esp + 0x4c], 0x4bb6b4
mov dword [esp + 0x78], 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 2
call fcn.00435780
jmp 0x4710d1
mov al, byte [esi + 0x7e04]
mov ecx, esi
mov byte [esp + 0x11], al
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
test edi, edi
je 0x4711d6
mov eax, dword [edi + 0x88]
add dword [edi + 0x80], eax
mov eax, dword [edi + 0x8c]
adc dword [edi + 0x84], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [esi + 0x32]
push 0x800
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00469dc0
cmp byte [esi + 0x7e02], 0
sete al
movzx eax, al
push eax
lea eax, [esp + 0x8c]
push 0x800
push eax
call fcn.00469760
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x94]
mov eax, dword [esi]
add esp, 0x18
mov byte [esp + 0x13], 0
movzx ebx, byte [ebp + 0x71a9]
mov eax, dword [eax + 4]
neg ebx
sbb ebx, ebx
and ebx, 4
push ebx
push ecx
mov ecx, esi
call eax
test al, al
jne 0x4712df
test edi, edi
je 0x47125f
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
cmp byte [esp + 0x13], 0
jne 0x4712ae
push 0x800
lea eax, [esi + 0x32]
push eax
lea eax, [esp + 0x1084]
push eax
call fcn.00469dc0
push 1
lea eax, [esp + 0x108c]
push 0x800
push eax
call fcn.00469760
mov eax, dword [esi]
lea ecx, [esp + 0x1094]
add esp, 0x18
mov byte [esp + 0x13], 1
mov eax, dword [eax + 4]
push ebx
push ecx
mov ecx, esi
call eax
test al, al
jne 0x471313
push 0x800
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.00470dc0
add esp, 0xc
test al, al
je 0x471332
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x471247
mov ax, word [esp + 0x2090]
cmp ax, 0x54
je 0x4712fd
cmp ax, 0x58
je 0x4712fd
cmp ax, 0x45
jne 0x4713d5
lea ebx, [esi + 0x32]
push ebx
push 0x4bb6b4
call fcn.00435780
add esp, 8
jmp 0x4713d8
push 0x800
lea eax, [esp + 0x1080]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00469dc0
add esp, 0xc
jmp 0x4712df
xor eax, eax
mov dword [esp + 0x34], 0x4bb6b4
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], 0x4bb6b4
mov dword [esp + 0x3c], 0x4bb6b4
mov dword [esp + 0x40], 0x4bb6b4
mov dword [esp + 0x44], 0x4bb6b4
mov dword [esp + 0x48], 0x4bb6b4
mov dword [esp + 0x4c], 0x4bb6b4
mov dword [esp + 0x78], 0x45
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], 1
call fcn.00435780
mov eax, dword [esi]
lea ecx, [esi + 0x32]
push ebx
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
call dword [eax + 0x10]
xor al, al
jmp 0x4715cd
lea ebx, [esi + 0x32]
push 1
mov ecx, esi
call fcn.0046a610
push 0x800
lea eax, [esp + 0x1080]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00466e10
mov eax, dword [ebp + 0xa4f8]
add esp, 0xc
test eax, eax
je 0x471440
push 1
lea ecx, [esp + 0x80]
push ecx
push dword [ebp + 0xa4f4]
push 3
call eax
cmp eax, 0xffffffff
je 0x4713ce
push 1
lea eax, [esp + 0x1080]
push eax
push dword [ebp + 0xa4f4]
mov eax, dword [ebp + 0xa4f8]
push 0
call eax
cmp eax, 0xffffffff
je 0x4713ce
mov eax, dword [ebp + 0xa4fc]
test eax, eax
je 0x47145e
push 1
lea ecx, [esp + 0x1080]
push ecx
call eax
test eax, eax
je 0x4713ce
mov al, byte [esp + 0x11]
cmp byte [esi + 0x7e04], al
je 0x4714f5
xor eax, eax
mov dword [esp + 0x34], 0x4bb6b4
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 0x4bb6b4
mov dword [esp + 0x3c], 0x4bb6b4
mov dword [esp + 0x40], 0x4bb6b4
mov dword [esp + 0x44], 0x4bb6b4
mov dword [esp + 0x48], 0x4bb6b4
mov dword [esp + 0x4c], 0x4bb6b4
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x39
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], 1
call fcn.00435780
push 2
mov ecx, 0x4cf264
call fcn.00467480
cmp byte [esp + 0x12], 0
mov ecx, esi
je 0x47150a
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0046e370
jmp 0x471513
call fcn.0046dd10
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x21e4], 2
jne 0x471546
mov ecx, esi
call fcn.0046b720
mov ecx, dword [esi + 0x7df0]
sub ecx, dword [esi + 0x4420]
mov eax, dword [esi + 0x7df4]
sbb eax, dword [esi + 0x4424]
mov edx, dword [esi]
push 0
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
cmp byte [esp + 0x208c], 0
je 0x47156d
cmp byte [ebp + 0x714f], 0
jne 0x47156d
lea eax, [esi + 0x33f0]
push eax
push 0x4bb6b4
call fcn.00435780
add esp, 8
test edi, edi
je 0x4715cb
cmp ebx, 5
jne 0x47157c
mov byte [edi + 0x57], 0
jmp 0x47159d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov al, byte [esi + eax]
mov byte [edi + 0x57], al
mov eax, dword [esi + ecx]
mov ecx, dword [esi + ecx + 4]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
push esi
mov ecx, edi
call fcn.00475dc0
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x98]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push dword [ebp + 0x94e8]
push dword [esi + eax]
call fcn.00472d50
mov al, 1
mov ecx, dword [esp + 0x207c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441dc6
add esp, 0x2070
ret