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

Disassembly:
sub esp, 0x90
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [ebx + 0x20]
mov eax, dword [esi + 0x5d8]
push edi
lea edi, [esi + 0x508]
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push ebp
push ebp
push ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], ebp
call fcn.347cb8fd
test eax, eax
jl 0x347c1a0e
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esi + 0x558]
push ecx
push ebp
push ebx
call fcn.347cb8fd
test eax, eax
mov dword [esp + 0x28], eax
jl 0x347c1a0e
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x228]
mov edx, dword [ebp + 0x10]
mov edx, dword [ecx + edx*4]
mov eax, dword [edx + 0xe4]
shr eax, 0xe
and eax, 1
mov dword [esi + 0x610], eax
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xec], ecx
mov edx, dword [esp + 0x3c]
mov dword [edi + 0xc0], edx
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc4], eax
mov ecx, dword [esp + 0x44]
mov dword [edi + 0xc8], ecx
mov edx, dword [esp + 0x48]
mov dword [edi + 0xcc], edx
mov eax, dword [esp + 0x34]
mov dword [edi + 0xe0], eax
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x90], ecx
mov edx, dword [esp + 0x80]
mov dword [edi + 0x94], edx
mov eax, dword [esp + 0x84]
mov dword [edi + 0x98], eax
mov ecx, dword [esp + 0x88]
mov dword [edi + 0x9c], ecx
mov edx, dword [esp + 0x24]
mov dword [edi + 0xd8], edx
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x70], eax
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x74], ecx
mov edx, dword [esp + 0x64]
mov dword [edi + 0x78], edx
mov eax, dword [esp + 0x68]
mov dword [edi + 0x7c], eax
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xd4], ecx
mov edx, dword [esp + 0x6c]
mov dword [edi + 0x60], edx
mov eax, dword [esp + 0x70]
mov dword [edi + 0x64], eax
mov ecx, dword [esp + 0x74]
mov dword [edi + 0x68], ecx
mov edx, dword [esp + 0x78]
mov dword [edi + 0x6c], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jae 0x347c16f6
mov dword [edi + 0xe4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0xa0], eax
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xa4], ecx
mov edx, dword [esp + 0x44]
mov dword [edi + 0xa8], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa4], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x5c], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x60], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x64], ecx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x68], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0xa8], eax
or dword [esi + 0x44], 0x80
jmp 0x347c17bd
jbe 0x347c175f
mov dword [edi + 0xe4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0xa0], ecx
mov edx, dword [esp + 0x50]
mov dword [edi + 0xa4], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 0xa8], eax
mov ecx, dword [esp + 0x58]
mov dword [edi + 0xac], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xa4], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x5c], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x60], ecx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x64], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x68], eax
mov ecx, dword [esp + 0x1c]
or dword [esi + 0x4fc], 2
mov dword [esi + 0xa8], ecx
jmp 0x347c17bd
mov dword [edi + 0xe4], eax
mov edx, dword [esp + 0x3c]
mov dword [edi + 0xa0], edx
mov eax, dword [esp + 0x40]
mov dword [edi + 0xa4], eax
mov ecx, dword [esp + 0x44]
mov dword [edi + 0xa8], ecx
mov edx, dword [esp + 0x48]
mov dword [edi + 0xac], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0xa4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x5c], ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x60], edx
mov eax, dword [esp + 0x44]
mov dword [esi + 0x64], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esi + 0xa8], edx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0xac], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xb0], ecx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x7c], edx
mov eax, dword [esp + 0x60]
mov dword [esi + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x84], ecx
mov edx, dword [esp + 0x68]
and ebx, 0x100
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
je 0x347c1812
test edx, 0x400
jne 0x347c1826
test ebx, ebx
jne 0x347c18c9
test edx, 0x200
je 0x347c18c9
mov eax, 0x10
lea ecx, [esi + 0x10]
lea edx, [esp + 0x6c]
nop
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x347c184b
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x347c1833
test eax, eax
je 0x347c18b4
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347c189a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347c18b0
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347c189a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347c18b0
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347c189a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347c18b0
movzx ebx, byte [edx]
movzx eax, byte [ecx]
sub ebx, eax
je 0x347c18b0
mov ebp, dword [esp + 0x18]
test ebx, ebx
mov ebx, dword [esp + 0x20]
mov eax, 1
jg 0x347c18ba
or eax, 0xffffffff
jmp 0x347c18ba
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
xor eax, eax
test eax, eax
mov edx, dword [esp + 0x14]
je 0x347c18c9
mov eax, 1
jmp 0x347c18cb
xor eax, eax
mov ecx, dword [esi + 0x44]
shl eax, 0xa
or eax, ecx
xor eax, ecx
and eax, 0x400
xor eax, ecx
test ebx, ebx
mov dword [esi + 0x44], eax
je 0x347c18ef
test edx, 0x200
jne 0x347c18f7
test ebx, ebx
jne 0x347c18fe
test edx, 0x400
je 0x347c18fe
or dword [esi + 0x4fc], 1
mov eax, dword [ebp + 0x10c]
test eax, eax
je 0x347c192a
test byte [esi + 0x46], 1
je 0x347c1926
test ebx, ebx
je 0x347c191e
test edx, 0x200
jne 0x347c192a
test ebx, ebx
jne 0x347c1926
test edx, 0x400
jne 0x347c192a
test eax, eax
jne 0x347c1931
or dword [esi + 0x4fc], 4
xor ecx, ecx
cmp dword [ebp + 0x10c], ecx
sete cl
shl ecx, 8
xor ecx, dword [esi + 0x4fc]
and ecx, 0x100
xor dword [esi + 0x4fc], ecx
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4fc]
shr eax, 5
xor eax, ecx
and eax, 0x800
xor eax, ecx
test eax, 0x900
mov dword [esi + 0x4fc], eax
jne 0x347c1987
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x30]
push edi
push edx
push eax
call fcn.347c1437
jmp 0x347c1a0a
mov eax, dword [edi + 0xd0]
and eax, 0x100
je 0x347c19b2
mov ecx, dword [esi + 0x40]
sub ecx, 2
neg ecx
sbb ecx, ecx
and ecx, 0x1800000
add ecx, 0x800000
mov dword [edi + 0xfc], ecx
jmp 0x347c19ce
mov edx, dword [esi + 0x40]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0x1800000
add edx, 0x800000
mov dword [edi + 0x100], edx
test eax, eax
je 0x347c19ee
mov eax, dword [esi + 0x40]
sub eax, 2
neg eax
sbb eax, eax
and eax, 0x1800000
add eax, 0x800000
mov dword [edi + 0x100], eax
jmp 0x347c1a0a
mov ecx, dword [esi + 0x40]
sub ecx, 2
neg ecx
sbb ecx, ecx
and ecx, 0x1800000
add ecx, 0x800000
mov dword [edi + 0xfc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x90
ret 8