Function at 0x348a3105
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3ac
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x3a8], eax
mov edx, dword [esp + 0x3bc]
mov eax, dword [esp + 0x3b4]
mov ecx, dword [esp + 0x3b0]
mov dword [esp + 0x48], edx
mov edx, 0xffff
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [0x348ca248], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3b8]
mov dword [esp + 4], edx
je 0x348a3178
mov eax, 0xfffffbd7
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.348c86f8
add esp, 0x3ac
ret 0x14
mov dword [0x348ebb48], ecx
push esi
mov esi, dword [ecx + 0x2c]
mov dword [0x348ebb18], esi
cmp dword [ecx + 0x28], edx
je 0x348a31aa
mov eax, 0xfffffbac
pop esi
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.348c86f8
add esp, 0x3ac
ret 0x14
cmp eax, edx
jne 0x348a31cb
mov eax, 0xfffffbd8
pop esi
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.348c86f8
add esp, 0x3ac
ret 0x14
push ebx
push ebp
mov dword [0x348eb6c8], edx
cmp byte [eax], dl
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 1
je 0x348a3407
mov dl, byte [eax]
xor ebp, ebp
cmp dl, 0x3b
mov ecx, eax
mov byte [esp + 0x24], dl
je 0x348a321d
nop
mov dl, byte [esp + 0x24]
add ecx, 1
test dl, dl
je 0x348a3220
cmp dl, 0x3d
jne 0x348a3212
mov ebp, ecx
mov dl, byte [ecx]
cmp dl, 0x3b
mov byte [esp + 0x24], dl
jne 0x348a3200
add ecx, 1
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x1c], ecx
je 0x348a323a
mov dword [esp + 0x3c], 0
mov esi, ecx
jmp case.default.0x348a334b
test ebp, ebp
je 0x348a3411
mov edi, dword [esp + 0x3d0]
and edi, 4
push edi
push 0
push 0
push 0
mov edx, ebp
sub edx, eax
push 0xa
sub edx, 1
push edx
push eax
lea eax, [esp + 0x78]
lea ecx, [esp + 0x2d4]
push eax
mov byte [esp + 0x2d8], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0x100
call fcn.348b6f07
test eax, eax
jl 0x348a3e19
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov esi, 0x348922bc
lea esp, [esp]
mov edx, dword [esi - 4]
push edi
push 0
push 0
push 0
push 0xa
push edx
push esi
lea eax, [esp + 0x84]
lea ecx, [esp + 0x1d4]
push eax
mov byte [esp + 0x1d8], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0x100
call fcn.348b6f07
test eax, eax
jl 0x348a3e19
lea ecx, [esp + 0x1b8]
push ecx
lea edx, [esp + 0x2bc]
push edx
call fcn.348bf117
test eax, eax
je 0x348a330f
add dword [esp + 0x2c], 1
add ebx, 0x14
add esi, 0x14
cmp ebx, 0x64
jb 0x348a329c
mov esi, dword [esp + 0x1c]
jmp case.default.0x348a334b
cmp byte [ebp], 0x20
jne 0x348a3321
lea esp, [esp]
add ebp, 1
cmp byte [ebp], 0x20
je 0x348a3318
mov esi, dword [esp + 0x1c]
cmp ebp, esi
je 0x348a3411
mov edx, esi
sub edx, ebp
mov edi, 1
sub edx, edi
mov eax, ebp
call fcn.348a3059
mov ecx, dword [esp + 0x2c]
cmp ecx, 3
movzx eax, ax
ja case.default.0x348a334b
jmp dword [ecx*4 + 0x348a3e34]
movzx eax, ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
jmp case.default.0x348a334b
movzx ecx, ax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], edi
jmp case.default.0x348a334b
movzx edx, ax
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edi
cmp byte [esp + 0x24], 0
je 0x348a3389
cmp byte [esi], 0
mov eax, esi
jne 0x348a31f0
xor ebx, ebx
cmp dword [esp + 0x28], ebx
je 0x348a3407
cmp dword [esp + 0x4c], ebx
jne 0x348a339f
mov dword [esp + 0x30], 1
cmp dword [esp + 0x40], ebx
jne 0x348a33b7
movzx eax, word [esp + 0x38]
push eax
call fcn.348b5768
movzx ecx, ax
mov dword [esp + 0x34], ecx
movzx edx, word [esp + 0x34]
movzx eax, word [esp + 0x38]
movzx ecx, word [esp + 0x30]
push edx
push eax
push ecx
call fcn.348b56a4
mov edi, dword [esp + 0x3d0]
mov esi, edi
and esi, 2
mov dword [esp + 0x2c], eax
je 0x348a33fb
cmp eax, 4
je 0x348a33ef
cmp eax, 5
je 0x348a33ef
cmp eax, 6
jne 0x348a33fb
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
mov ebp, edi
and ebp, 4
je 0x348a341b
cmp eax, 6
jbe 0x348a341b
mov eax, 0xfffffbda
jmp 0x348a3e19
mov eax, 0xfffffc15
jmp 0x348a3e19
cmp eax, 0xff
jne 0x348a342c
mov eax, 0xfffffbd8
jmp 0x348a3e19
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x50]
push edx
push 0x104
lea eax, [esp + 0xbc]
push eax
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
call fcn.34895b05
cmp eax, ebx
jl 0x348a3e19
cmp dword [esp + 0x50], ebx
je 0x348a347c
mov eax, 0xfffffb4e
jmp 0x348a3e19
cmp ebp, ebx
mov eax, 9
je 0x348a348e
neg esi
sbb esi, esi
add esi, 8
mov eax, esi
push eax
push ebx
and edi, 1
push edi
lea edx, [esp + 0xc0]
push edx
call fcn.348965df
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
lea eax, [esp + 0x10]
push eax
push 0x20
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x58], 1
call fcn.34895f16
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x10]
mov eax, dword [0x348ebb48]
push edx
push eax
call fcn.34895e5b
cmp eax, ebx
mov dword [esp + 0x3c], eax
jne 0x348a34f3
mov esi, 0xfffffc0d
jmp 0x348a3d89
mov ebp, 2
mov dword [esp + 0x1c], 0x348911c2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ebp
lea ecx, [esp + 0x14]
push ecx
call fcn.34897ed9
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edi, dword [esp + 0x14]
push 0x800
push ebx
push edi
call sub.msvcr80.dll_memset
mov edx, dword [esp + 0x20]
add edx, 0x800
add esp, 0xc
cmp edi, edx
jae 0x348a3580
mov ebp, dword [esp + 0x1c]
lea esp, [esp]
movzx esi, byte [ebp]
add ebp, 1
cmp esi, 0x80
jae 0x348a3559
lea edi, [edi + esi + 1]
jmp 0x348a356b
sub esi, 0x7f
push esi
push ebp
push edi
call sub.msvcr80.dll_memcpy
add esp, 0xc
add edi, esi
add ebp, esi
mov eax, dword [esp + 0x14]
add eax, 0x800
cmp edi, eax
jb 0x348a3544
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.348940cc
mov esi, eax
cmp esi, ebx
jl 0x348a3b19
mov edx, dword [0x348ebb48]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push eax
push ecx
push ebp
push edx
call fcn.348976bf
mov esi, eax
cmp esi, ebx
jl 0x348a3b19
mov eax, dword [esp + 0x14]
push eax
call fcn.3489976e
mov ecx, dword [esp + 0x14]
cmp word [ecx], 2
jne 0x348a35df
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0x74], ebp
add eax, 1
mov dword [esp + 0x24], eax
add ebp, 1
cmp ebp, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], ebp
jb 0x348a3508
mov edi, dword [esp + 0x24]
cmp edi, ebx
jbe 0x348a363c
mov ecx, dword [esp + edi*4 + 0x70]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 2
sub edi, 1
push ecx
push ebx
push edx
call fcn.34897f89
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x14]
push ebx
push eax
call fcn.348944c6
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
cmp edi, ebx
mov dword [esp + 0x14], ebx
ja 0x348a35fb
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.34893af9
movzx edx, word [esp + 0x30]
mov dword [esp + 0x14], eax
mov word [eax + 0x410], dx
movzx edx, word [esp + 0x38]
lea ecx, [eax + 0x410]
mov word [eax + 0x412], dx
movzx edx, word [esp + 0x34]
mov word [eax + 0x414], dx
mov edx, 0x40007d5
mov word [eax + 0x416], bx
mov dword [eax + 0x41c], 3
mov dword [eax + 0x420], 4
mov dword [eax + 0x424], 5
mov dword [eax + 0x428], 6
mov dword [eax + 0x42c], 7
mov dword [eax + 0x430], 0x20507ef
mov dword [eax + 0x434], 0x10607f1
mov dword [eax + 0x438], 0x10707f2
mov dword [eax + 0x43c], 0x80307df
mov dword [eax + 0x440], 0x80407e7
mov dword [eax + 0x444], 0x40807f3
mov dword [eax + 0x448], edx
mov edi, 0xffff07d0
mov dword [eax + 0x44c], edi
mov dword [eax + 0x450], 0xfffc07cd
mov dword [eax + 0x458], 0x20207dd
mov dword [eax + 0x45c], 0x20607de
mov dword [eax + 0x460], 0x10207dd
mov dword [eax + 0x464], 0x20807e2
mov dword [eax + 0x468], 0x307de
mov dword [eax + 0x46c], 0x407de
mov dword [eax + 0x470], 0x507de
mov dword [eax + 0x478], 0x20707e0
mov dword [eax + 0x47c], edi
mov dword [eax + 0x480], edx
mov dword [eax + 0x484], 0x20a07e4
mov dword [eax + 0x488], 0x10a07de
mov dword [eax + 0x48c], 0x507dc
mov dword [eax + 0x490], 0xd07e5
mov dword [eax + 0x494], 0x607dc
mov dword [eax + 0x498], 0x407dc
mov dword [eax + 0x49c], 0x307dc
mov dword [eax + 0x4a0], 0x20107d9
mov dword [eax + 0x4a4], 0x20c07e3
mov dword [eax + 0x4a8], 0x10807dc
mov dword [eax + 0x4ac], edi
mov dword [eax + 0x4b0], edx
mov dword [eax + 0x4b4], 0x40b07df
mov dword [eax + 0x4b8], 0x10207db
mov dword [eax + 0x4bc], 0xfffe07cf
mov dword [eax + 0x4c0], 0xfffc07cd
mov dword [eax + 0x4c4], 0xfffd07ce
mov dword [eax + 0x4c8], 0xfffb07cc
mov dword [eax + 0x4cc], 0x10907dd
mov dword [eax + 0x4d4], 0x207dd
mov dword [eax + 0x4d8], edx
mov dword [eax + 0x4dc], edi
mov dword [eax + 0x4e0], edx
mov word [eax + 0x4e4], bx
mov word [eax + 0x4e6], 1
mov word [eax + 0x4e8], bx
mov word [eax + 0x4ea], bx
mov word [eax + 0x4ec], bx
mov word [eax + 0x4ee], bx
lea esi, [eax + 0x418]
mov dword [esi], 2
mov ebp, 0x40107d9
mov dword [eax + 0x454], ebp
mov dword [eax + 0x474], ebp
mov dword [eax + 0x4d0], ebp
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x18], eax
mov edi, dword [esp + 0x10]
add edi, 0x1c
mov ecx, 0x36
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push ebx
push eax
call fcn.34893d4c
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x124], edx
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [eax + 0x108]
push ecx
push ebx
push 2
push eax
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x108]
mov edi, 0x200
or dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.348b5b30
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x10]
push ebx
lea edx, [eax + 0x10c]
push edx
push ebx
push 3
push eax
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10c]
or dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [eax + 0x110]
push ecx
push ebx
push 4
push eax
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x110]
or dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [eax + 0x114]
push ecx
push ebx
push 5
push eax
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x114]
or dword [eax + 0x2c], edi
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [eax + 0x118]
push ecx
push ebx
push 6
push eax
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x118]
or dword [eax + 0x2c], edi
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x110]
lea eax, [esp + 0x18]
push eax
push 1
push 0xff
push edx
call fcn.3489cba3
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x18]
push ebx
push ebx
push eax
call fcn.3489d30c
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.3489c7c1
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov edi, edi
cmp dword [esp + 0x20], ebx
je 0x348a3b2c
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.3489ca10
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push 0x10207dd
push ecx
call fcn.34899c25
movzx dx, byte [eax]
mov eax, dword [esp + 0x48]
push eax
movzx edi, dx
call fcn.3489976e
mov edx, dword [esp + 0x20]
push 2
lea ecx, [esp + 0x34]
push ecx
push 0x20807e2
push edx
call fcn.34899eca
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
cmp di, 0xa
je 0x348a3aa0
cmp di, 0xc
jne 0x348a3ae0
mov ecx, dword [esp + 0x20]
push 2
lea eax, [esp + 0x38]
push eax
push 0x20607de
push ecx
call fcn.34899eca
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x20]
push 2
lea edx, [esp + 0x3c]
push edx
push 0x20707e0
push eax
call fcn.34899eca
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ecx
call fcn.3489d30c
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.3489c7c1
mov esi, eax
cmp esi, ebx
jge 0x348a3a2b
jmp 0x348a3d89
mov edx, dword [esp + 0x14]
push edx
call fcn.34896f2c
mov dword [esp + 0x14], ebx
jmp 0x348a3d89
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x18]
push edx
call fcn.3489c759
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ax, word [esp + 0x30]
mov cx, word [esp + 0x38]
mov dx, word [esp + 0x34]
mov word [esp + 0x50], ax
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x56], cx
mov ecx, dword [esp + 0x14]
push 1
mov dword [esp + 0x20], ebx
mov word [esp + 0x5c], dx
mov edx, dword [ecx + 0x114]
push 0xff
push edx
mov word [esp + 0x66], bx
call fcn.3489cba3
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x18]
push ebx
push ebx
push eax
call fcn.3489d30c
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.3489c7c1
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ebp, dword [esp + 0x54]
cmp dword [esp + 0x20], ebx
je 0x348a3c6e
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.3489ca10
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push 0xfffd07ce
push ecx
call fcn.34899c25
movzx edi, word [esp + 0x24]
mov edx, dword [esp + 0x48]
push edx
mov esi, eax
shr edi, 3
call fcn.3489976e
cmp edi, ebx
je 0x348a3c35
mov eax, dword [esp + 0x50]
lea ecx, [edi*8 - 5]
shr ecx, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ecx
call fcn.3489d30c
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.3489c7c1
mov esi, eax
cmp esi, ebx
jge 0x348a3bcd
jmp 0x348a3d89
cmp esi, ebx
jl 0x348a3d89
mov edx, dword [esp + 0x18]
push edx
call fcn.3489c759
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [0x348ca260]
push 0x30
push eax
mov dword [esp + 0x20], ebx
call fcn.348c4fa9
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x348a3cad
mov esi, 0xfffffc0d
jmp 0x348a3d89
xor ebp, ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push eax
push ecx
call fcn.348b44c7
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x1c]
movzx edi, byte [eax + 5]
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
add eax, 4
lea edi, [edi*8 + 0x18]
push edi
push eax
push esi
mov dword [esp + 0x28], eax
call sub.msvcr80.dll_memcpy
xor eax, eax
add esp, 0xc
cmp byte [esi + 1], al
jbe 0x348a3d16
lea ecx, [esi + 0x1d]
mov dl, byte [esp + 0x2c]
mov byte [ecx], dl
movzx edx, byte [esi + 1]
add eax, 1
add ecx, 8
cmp eax, edx
jb 0x348a3d02
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
push edx
call fcn.348a741e
mov esi, eax
cmp esi, ebx
jl 0x348a3d89
mov eax, dword [esp + 0x44]
push ebx
push eax
call fcn.348b4f92
add dword [esp + 0x1c], edi
add ebp, 1
cmp ebp, 9
mov dword [esp + 0x44], ebx
jb 0x348a3caf
mov ecx, dword [esp + 0x28]
mov edx, dword [0x348ca260]
push ecx
push edx
call fcn.348c5004
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
mov edx, dword [0x348eb6cc]
push 0x34892770
push eax
mov eax, dword [edx + 0x28]
push ecx
mov dword [esp + 0x34], ebx
call eax
mov esi, eax
cmp esi, ebx
jge 0x348a3e0c
mov ecx, dword [esp + 0x44]
push ebx
push ecx
call fcn.348b5230
mov edx, dword [esp + 0x18]
push edx
call fcn.3489c7aa
cmp eax, ebx
jl 0x348a3e19
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x348a3db6
push eax
mov eax, dword [0x348ca260]
push eax
call fcn.348c5004
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x348a3dd9
mov eax, dword [eax + 0x800]
and dword [eax + 0x40], 0xfffffbff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.34897346
cmp eax, ebx
jl 0x348a3e19
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x348a3de7
push eax
call fcn.34895db7
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x348a3df5
push eax
call fcn.34895e96
cmp dword [esp + 0x4c], ebx
je 0x348a3e08
lea edx, [esp + 0xb4]
push edx
call fcn.348c4ba5
mov eax, esi
jmp 0x348a3e19
mov eax, dword [esp + 0x10]
mov dword [eax + 8], 1
xor eax, eax
mov ecx, dword [esp + 0x3b8]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.348c86f8
add esp, 0x3ac
ret 0x14