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

Disassembly:
sub esp, 0x68
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [ecx + 0x1c]
push ebp
push esi
push edi
mov edi, dword [eax + 0x14]
push 1
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x347efae8]
push ebx
mov dword [esp + 0x30], 0
mov edx, dword [ecx + 0x9c]
push edi
mov dword [esp + 0x38], ebx
call edx
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
mov edx, dword [0x347ed1c4]
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor esi, esi
shr edx, 5
je 0x347d72bd
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa0]
push 1
push ebx
push edi
call ecx
mov ecx, eax
cmp ecx, 0xfffffbae
mov dword [esp + 0x10], ecx
je 0x347d7295
cmp ecx, 0xfffffbaf
je 0x347d7295
cmp ecx, 0xfffffbb2
jne 0x347d72bd
push 0x1f4
call ebp
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add esi, 1
shr edx, 5
cmp esi, edx
jb 0x347d7266
mov ecx, dword [esp + 0x10]
test ecx, ecx
jge 0x347d72ee
cmp ecx, 0xfffff9bf
jne 0x347d7bf9
pop edi
pop esi
pop ebp
mov dword [esp + 4], 0x4e5e
mov eax, dword [esp + 4]
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x9c]
push 1
push 4
lea eax, [esp + 0x28]
push eax
push ebx
push edi
call edx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa4]
push 3
push ebx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x9c]
push 1
push 4
lea edx, [esp + 0x28]
push edx
push ebx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor esi, esi
shr edx, 5
je 0x347d73bc
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa0]
push 1
push ebx
push edi
call ecx
cmp eax, 0xfffffbae
mov dword [esp + 0x10], eax
je 0x347d7398
cmp eax, 0xfffffbaf
je 0x347d7398
cmp eax, 0xfffffbb2
jne 0x347d73bc
push 0x1f4
call ebp
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add esi, 1
shr edx, 5
cmp esi, edx
jb 0x347d736e
mov edx, dword [esp + 0x14]
push 0
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x74]
push 8
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x88]
push eax
push ebx
push edi
call edx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov edx, dword [esp + 0x14]
push 0
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x74]
push 8
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x88]
push eax
push ebx
push edi
call edx
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
fld qword [esp + 0x38]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x347d7469
mov edx, dword [0x347efae8]
fstp qword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x80]
push 4
lea ecx, [esp + 0x3c]
push ecx
push ebx
push edi
call eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
jmp 0x347d746b
fstp st(0)
mov esi, dword [0x347ed1c4]
mov edx, esi
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor ebp, ebp
shr edx, 5
je 0x347d74ed
lea esp, [esp]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push 0
push 1
push ebx
push edi
call ecx
mov ecx, eax
cmp ecx, 0xfffffbae
mov dword [esp + 0x10], ecx
je 0x347d74bf
cmp ecx, 0xfffffbaf
je 0x347d74bf
cmp ecx, 0xfffffbb2
jne 0x347d7747
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov esi, dword [0x347ed1c4]
mov edx, esi
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x347d748a
mov ecx, dword [esp + 0x10]
test ecx, ecx
jge 0x347d73f0
cmp ecx, 0xfffff9bd
jne 0x347d7bf9
imul esi, esi, 0x3e8
mov eax, 0x10624dd3
mul esi
xor ebp, ebp
shr edx, 5
je 0x347d7bf9
mov esi, dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x7c]
push 4
lea eax, [esp + 0x38]
push eax
push ebx
push edi
call edx
cmp eax, 0xfffffbae
mov dword [esp + 0x10], eax
je 0x347d754c
cmp eax, 0xfffffbaf
je 0x347d754c
cmp eax, 0xfffffbb2
jne 0x347d7574
push 0x1f4
call esi
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x347d751f
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x347d7bf9
mov ecx, dword [esp + 0x14]
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov edx, dword [ecx + 0x54]
push 0x10
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x88]
push edx
push ebx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov ebp, dword [esp + 0x18]
mov esi, dword [ebp + 0x20]
push 0xa90
push 0
push esi
call sub.msvcr80.dll_memset
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov edx, dword [esp + 0x70]
mov dword [esi], edx
mov eax, dword [esp + 0x74]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esi + 0x508], eax
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov dword [esi + 0x50c], ecx
mov edx, dword [esp + 0x6c]
push 0
push 0
mov dword [esi + 0x510], edx
mov eax, dword [esp + 0x78]
or dword [esi + 0x44], 0x20
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push 0x200
mov dword [esi + 0x514], eax
mov eax, dword [edx + 0x50]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x88]
add ebp, 0x15ac
push ebp
push eax
push ebx
push edi
call edx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, 0x15ac
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov dword [esi + 0x5f8], eax
shr eax, 0x11
push 0
not eax
xor eax, dword [esi + 0x44]
push 0
and eax, 1
xor dword [esi + 0x44], eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x347efae8]
push 0x10
lea eax, [esi + 0x548]
push eax
mov eax, dword [edx + 0x58]
mov edx, dword [ecx + 0x88]
push eax
push ebx
push edi
call edx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x5c]
push 0
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x88]
push 4
lea ebp, [esi + 0x48]
push ebp
push edx
push ebx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
cmp eax, 0x3ec
jne 0x347d7966
mov ecx, dword [esp + 0x18]
push 1
lea edx, [esp + 0x2c]
push edx
lea ebp, [esi + 0x558]
push ebp
lea eax, [esi + 0x548]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.347cb216
test eax, eax
mov dword [esp + 0x10], eax
jge 0x347d7752
cmp eax, 0xffffb177
jne 0x347d7bf9
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.347df4cf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
mov esi, dword [0x347ed1c4]
jmp 0x347d74ed
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
shl ecx, 0x10
xor ecx, dword [esi + 0x44]
lea eax, [esi + 0x48]
push eax
and ecx, 0x10000
xor dword [esi + 0x44], ecx
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x14]
push ebp
push eax
push edx
call fcn.347cb0de
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor ebp, ebp
shr edx, 5
je 0x347d7804
lea ecx, [ecx]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x90]
push 2
push ebx
push edi
call ecx
mov ecx, eax
cmp ecx, 0xfffffbae
mov dword [esp + 0x10], ecx
je 0x347d77d8
cmp ecx, 0xfffffbaf
je 0x347d77d8
cmp ecx, 0xfffffbb2
jne 0x347d7804
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x347d77a9
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x347d7bf9
mov edx, dword [0x347efae8]
push 0
push 0
push 4
lea eax, [esi + 0x48]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x5c]
mov eax, dword [edx + 0x8c]
push ecx
push ebx
push edi
call eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor ebp, ebp
shr edx, 5
je 0x347d78b7
lea ecx, [ecx]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x94]
push 0
push 0
push 0
push ebx
push edi
call ecx
mov ecx, eax
cmp ecx, 0xfffffbae
mov dword [esp + 0x10], ecx
je 0x347d788b
cmp ecx, 0xfffffbaf
je 0x347d788b
cmp ecx, 0xfffffbb2
jne 0x347d78b7
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x347d7858
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x347d7bf9
mov edx, dword [esp + 0x18]
mov eax, 0x10
lea ecx, [esi + 0x548]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x347d78ea
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x347d78ce
test eax, eax
je 0x347d7b2e
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347d7949
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347d7b2a
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347d7949
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347d7b2a
movzx ebx, byte [edx]
movzx ebp, byte [ecx]
sub ebx, ebp
jne 0x347d7949
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347d7b2a
movzx ebx, byte [edx]
movzx eax, byte [ecx]
sub ebx, eax
je 0x347d7b2a
mov eax, dword [esp + 0x14]
test ebx, ebx
mov ebx, dword [esp + 0x24]
mov ecx, 1
jg 0x347d7b34
or ecx, 0xffffffff
jmp 0x347d7b34
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x558]
push eax
mov eax, dword [ebp]
push eax
push ecx
push edx
call fcn.347cadf8
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov edx, dword [0x347efae8]
push 1
push 0x10
lea eax, [esi + 0x558]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
mov eax, dword [edx + 0x9c]
push ecx
push edi
call eax
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x347d7bf9
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
xor ebp, ebp
shr edx, 5
je 0x347d7a3b
mov edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xa0]
push 1
push ecx
push edi
call eax
mov ecx, eax
cmp ecx, 0xfffffbae
mov dword [esp + 0x10], ecx
je 0x347d7a0f
cmp ecx, 0xfffffbaf
je 0x347d7a0f
cmp ecx, 0xfffffbb2
jne 0x347d7a3b
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x347d79d8
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x347d7bf9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
push 0
push 0x18
lea edx, [esp + 0x54]
push edx
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xbc]
push 0x34772bf0
push ecx
push edi
call eax
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov eax, dword [esp + 0x50]
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 0x28]
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x88]
push edx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp dword [esp + 0x2c], 0xb
lea eax, [esp + 0x30]
sete dl
push eax
lea eax, [esi + 0x558]
push eax
push ecx
shl edx, 0x10
xor edx, dword [esi + 0x44]
and edx, 0x10000
xor dword [esi + 0x44], edx
mov edx, dword [esp + 0x24]
push edx
call fcn.347d5182
test eax, eax
mov dword [esp + 0x10], eax
jl 0x347d7bf9
mov eax, dword [esp + 0x30]
push eax
call fcn.347ad3ff
test eax, eax
je 0x347d78bf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xffffb15e
push ecx
push edx
call fcn.347df4cf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
xor ecx, ecx
test ecx, ecx
jne 0x347d7b6a
test dword [esi + 0x28], 0x40000
jne 0x347d7b9c
mov ecx, dword [esp + 0x18]
push 0xffffb1cc
push eax
push ecx
call fcn.347df4cf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
test dword [esi + 0x28], 0x40000
je 0x347d7b9c
mov edx, dword [esp + 0x18]
push 0xffffb1cc
push eax
push edx
call fcn.347df4cf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
mov ecx, dword [eax + 0x108]
mov dword [esi + 0x60c], ecx
mov ecx, dword [0x347efae8]
mov ecx, dword [ecx + 0x228]
mov edx, dword [eax + 0x10]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0xe4]
push 0
push 0
shr ecx, 0xe
and ecx, 1
mov dword [esi + 0x610], ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x6c]
mov eax, dword [0x347efae8]
push 0x10
lea ecx, [esi + 0x84c]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push ebx
push edi
call ecx
test eax, eax
mov dword [esp + 0x10], eax
jge 0x347d7c44
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x104]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x34]
push edx
push 9
add eax, 0x68
push eax
call fcn.347d3c30
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.347ea89f
add esp, 0x68
ret 8
mov ecx, dword [esp + 0x1c]
shr ecx, 1
xor eax, eax
mov word [esi + ecx*2 + 0x84c], ax
mov word [esi + 0x85c], ax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov dword [esi + 0x528], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x52c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x530], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x534], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esi + 0x538], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x53c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x540], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x74]
pop edi
mov dword [esi + 0x544], edx
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.347ea89f
add esp, 0x68
ret 8