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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xe4]
push ebx
mov ebx, dword [esp + 0xd4]
push esi
xor esi, esi
cmp dword [0x348ca248], esi
push edi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], edx
je 0x3489f1fb
mov eax, 0xfffffbd7
jmp 0x3489f9fa
mov dword [0x348ebb48], eax
mov ecx, dword [eax + 0x2c]
push ebx
push eax
mov dword [0x348ebb18], ecx
call fcn.348acfba
test byte [ebx + 0x65], 8
je 0x3489f220
mov eax, 0xfffff8ef
jmp 0x3489f9fa
cmp dword [edi], 0x18
jae 0x3489f22f
mov eax, 0xfffffc15
jmp 0x3489f9fa
mov eax, dword [edi + 8]
cmp eax, 0xa
movzx edx, word [edi + 0xc]
push ebp
mov ebp, dword [ebx + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], edx
je 0x3489f265
cmp eax, 0xc
je 0x3489f265
mov dword [esp + 0x38], esi
jmp 0x3489f28c
cmp dx, si
jne 0x3489f274
movzx ecx, word [ebx + 0x18]
mov dword [esp + 0x38], ecx
jmp 0x3489f28c
movzx edx, dx
push edx
call fcn.348b5768
mov edx, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea edi, [eax - 1]
cmp edi, 0xe
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
ja 0x3489f9f4
cmp eax, 0xfe
je 0x3489f9f4
mov edi, 0xff
cmp eax, edi
je 0x3489f9f4
cmp eax, 0xf
je 0x3489f9f4
cmp ax, 9
jae 0x3489f2e8
cmp eax, 1
jne 0x3489f2d8
or ecx, eax
mov dword [esp + 0x10], ecx
movzx esi, ax
mov esi, dword [esi*4 + 0x34891198]
mov dword [esp + 0x18], esi
jmp 0x3489f322
cmp ax, 0xb
je 0x3489f306
cmp ax, 0xc
je 0x3489f306
test esi, esi
je 0x3489f31e
cmp esi, edi
jbe 0x3489f322
mov eax, 0xfffffa1e
jmp 0x3489f9f9
test cl, 1
jne 0x3489f30f
test esi, esi
je 0x3489f31e
and ecx, 0xfffffffe
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x18], edi
cmp eax, 0xa
je 0x3489f32c
cmp eax, 0xc
jne 0x3489f353
movzx ecx, word [esp + 0x38]
movzx eax, word [esp + 0x54]
movzx edx, dx
push ecx
push edx
push eax
call fcn.348b56a4
cmp eax, edi
jne 0x3489f34f
mov eax, 0xfffffbd9
jmp 0x3489f9f9
mov ecx, dword [esp + 0x10]
test ecx, 0x10000
je 0x3489f363
mov dword [esp + 0x34], 1
xor edi, edi
test cl, 6
jne 0x3489f373
cmp dword [esp + 0xf0], edi
je 0x3489f37b
mov dword [esp + 0x34], 1
mov esi, ecx
and esi, 8
mov dword [esp + 0x60], esi
je 0x3489f395
test cl, 0x10
je 0x3489f395
mov eax, 0xfffffc15
jmp 0x3489f9f9
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x65], 4
jne 0x3489f3a9
mov eax, 0xfffffae3
jmp 0x3489f9f9
push ebp
call fcn.348b5271
cmp eax, edi
jl 0x3489f9f9
mov edx, dword [esp + 0x2c]
push 0x41
push edx
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
call fcn.348a49f9
cmp eax, edi
mov dword [esp + 0x58], eax
jne 0x3489f3ed
mov edi, 0xfffffc16
jmp 0x3489f921
cmp word [ebp + 0x54], di
jne 0x3489f403
push ebp
call fcn.348b5b30
mov edi, eax
test edi, edi
jl 0x3489f921
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.348af444
mov edi, eax
test edi, edi
jl 0x3489f921
test esi, esi
mov dword [esp + 0x3c], 1
je 0x3489f44a
mov edx, ebp
cmp dword [edx + 0x30], 0xf000f000
je 0x3489f438
mov edi, 0xfffffa1a
jmp 0x3489f921
cmp word [esp + 0x28], 4
je 0x3489f466
mov edi, 0xfffffc15
jmp 0x3489f921
test byte [esp + 0x10], 0x10
je 0x3489f466
mov eax, ebp
cmp dword [eax + 0x34], 0xf000f000
je 0x3489f438
mov edi, 0xfffffa1a
jmp 0x3489f921
push 0x800
call fcn.348c4e70
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
jne 0x3489f484
mov edi, 0xfffffc0d
jmp 0x3489f913
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
push ecx
push 1
mov dword [esp + 0x50], eax
movzx ecx, word [ebx + 0xea]
mov esi, dword [ebx + 0x10c]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
push esi
mov dword [esp + 0x48], esi
call fcn.348a4a3c
mov edi, eax
test edi, edi
jl 0x3489f913
mov edx, dword [esp + 0x48]
push edx
push ebx
call fcn.3489e0d6
test eax, eax
jne 0x3489f4dc
mov edi, 0xfffffbad
jmp 0x3489f913
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
push ebp
push eax
push ecx
push esi
call fcn.348b6e98
mov edi, eax
test edi, edi
jl 0x3489f913
push 0x10
lea edx, [esp + 0x74]
push edx
call fcn.348a3e44
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
and edx, 1
push ebx
call fcn.3489eff7
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x34]
mov ebp, dword [esp + 0x1c]
push 2
add eax, 0x54
push eax
push esi
add ebp, 4
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
shr esi, 0x10
push 1
and esi, 0xff
add esi, 1
push esi
lea ecx, [esp + 0x78]
push ecx
call fcn.348b335a
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0x38]
push 1
add edx, 0x56
push edx
push esi
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
shr esi, 0x10
push 1
and esi, 0xff
add esi, 1
push esi
lea eax, [esp + 0x78]
push eax
call fcn.348b335a
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x3c]
push 1
add ecx, 0x57
push ecx
push esi
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
shr esi, 0x10
push 1
and esi, 0xff
add esi, 1
push esi
lea edx, [esp + 0x78]
push edx
call fcn.348b335a
lea eax, [esp + 0x68]
push eax
call fcn.348c52a9
mov esi, dword [ebx + 0x44]
push 8
lea ecx, [esp + 0x6c]
push ecx
push esi
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
shr esi, 0x10
push 1
and esi, 0xff
add esi, 1
push esi
lea edx, [esp + 0x78]
push edx
call fcn.348b335a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x70]
push eax
push ebp
push ecx
push edx
call fcn.348b959b
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], 0
mov esi, dword [ebx + 0x110]
push eax
push esi
call fcn.348b6ac0
mov edi, eax
test edi, edi
jl 0x3489f913
mov edx, dword [ebx + 0x84]
push 4
lea ecx, [esp + 0x48]
push ecx
push edx
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov ecx, dword [ebx + 0x64]
push 1
lea eax, [esp + 0x2c]
push eax
push ecx
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [ebx + 0x68]
push 2
lea edx, [esp + 0x58]
push edx
push eax
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x28]
cmp eax, 0xa
je 0x3489f6c0
cmp eax, 0xc
jne 0x3489f6f6
mov edx, dword [ebx + 0x60]
push 2
lea ecx, [esp + 0x3c]
push ecx
push edx
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov ecx, dword [ebx + 0x7c]
push 2
lea eax, [esp + 0x54]
push eax
push ecx
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x6c]
shr edx, 4
and edx, 1
push edx
push eax
push ebp
call fcn.3489a1de
mov edi, eax
test edi, edi
jl 0x3489f913
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x74]
shr ecx, 3
and ecx, 1
push ecx
push edx
push ebp
call fcn.3489a1de
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x70]
shr eax, 2
and eax, 1
push eax
push ecx
push ebp
call fcn.3489a1de
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [ebx + 0x78]
push 4
lea edx, [esp + 0x34]
push edx
push eax
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx + 0x80]
push ecx
lea edx, [esp + 0x94]
push edx
push eax
push ebp
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f913
push 0
push ebp
push esi
call fcn.348b887d
mov edi, eax
test edi, edi
jl 0x3489f913
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.348c4ea5
test byte [esp + 0x10], 0x10
mov dword [esp + 0x1c], 0
je 0x3489f988
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push 5
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x18]
push edx
push 0
push ebx
call fcn.34897f89
mov edi, eax
test edi, edi
jl 0x3489f921
mov eax, dword [esp + 0x20]
push 1
push eax
call fcn.3489992d
mov edi, eax
test edi, edi
jl 0x3489f921
push 0x800
call fcn.348c4e70
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x3489f81c
mov edi, 0xfffffc0d
jmp 0x3489f913
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push 1
push 0xff
push edx
call fcn.3489cba3
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x20]
push eax
call fcn.348969ef
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
call fcn.3489deb1
mov edi, eax
test edi, edi
jl 0x3489f909
mov ebp, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x3489f955
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.3489ca10
mov edi, eax
test edi, edi
jl 0x3489f909
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebp
push eax
push ecx
push edx
call fcn.348b6e98
mov edi, eax
test edi, edi
jl 0x3489f909
mov ecx, dword [esp + 0x30]
push 4
lea eax, [esp + 0x14]
push eax
push ecx
lea esi, [ebp + 4]
push esi
call fcn.34899eca
mov edi, eax
test edi, edi
jl 0x3489f909
mov edx, dword [esp + 0x24]
add dword [esp + 0x10], 1
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
push esi
push eax
push ecx
push ebx
call fcn.3489ec94
mov edi, eax
test edi, edi
jl 0x3489f909
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call fcn.3489deb1
mov edi, eax
test edi, edi
jge 0x3489f872
mov eax, dword [esp + 0x20]
push eax
call fcn.34896a04
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x3489f921
push eax
call fcn.348c4ea5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.3489c7aa
cmp dword [esp + 0x3c], 0
je 0x3489f937
call fcn.348aceef
mov edx, dword [esp + 0x14]
push edx
call fcn.3489f174
cmp edi, 0xfffff9bb
jne 0x3489f94e
mov edi, 0xfffffa1c
mov eax, edi
jmp 0x3489f9f9
test edi, edi
jl 0x3489f909
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x28], eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.34896a04
mov edx, dword [esp + 0x24]
push edx
call fcn.3489c759
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [esp + 0x1c]
push eax
call fcn.348c4ea5
cmp dword [esp + 0x60], 0
mov esi, dword [esp + 0x14]
je 0x3489f99a
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x4c]
push 1
push edx
call fcn.348b0141
mov edi, eax
test edi, edi
jl 0x3489f913
mov eax, dword [0x348ebb48]
cmp dword [eax + 0x28], 0
jbe 0x3489f9cf
cmp dword [esi + 0x44], 0
jne 0x3489f9cf
mov dword [esi + 0x44], eax
mov eax, dword [0x348ebb48]
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x48], ecx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x3489f9e5
movzx edx, word [esp + 0x28]
shl edx, 0xc
or edx, dword [esp + 0x30]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
neg eax
sbb eax, eax
and eax, 0x1393
jmp 0x3489f9f9
mov eax, 0xfffffa19
pop ebp
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.348c86f8
add esp, 0xc8
ret 0x1c