Function at 0x3479dc2a
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x318c
call fcn.347eae3e
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x3188], eax
mov eax, dword [esp + 0x3198]
mov edx, dword [0x347715f4]
mov ecx, dword [0x347715f0]
push ebx
mov ebx, dword [esp + 0x31a4]
push ebp
push esi
mov esi, dword [0x347715f8]
mov dword [esp + 0x2c], eax
or eax, 0xffffffff
push edi
mov edi, dword [esp + 0x31ac]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x347715ec]
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x80], edx
push 0x41
lea edx, [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 4]
push edx
xor ebp, ebp
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x34], ecx
mov word [esp + 0x94], bp
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
push esi
push ecx
lea edx, [esp + 0x21c]
push edx
call sub.msvcr80.dll_memcpy
add esp, 0xc
cmp esi, 0x528
mov eax, esi
jb 0x3479dd15
mov eax, 0x528
mov word [esp + eax + 0x214], bp
lea eax, [esi + 2]
cmp eax, 0x52a
jb 0x3479dd2c
mov eax, 0x52a
mov word [esp + eax + 0x214], bp
lea eax, [esp + 0x216]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0x296
lea edx, [esp + 0x74c]
push edx
call fcn.3479d57b
mov edi, dword [esp + 0x31a0]
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
lea eax, [esp + 0x214]
push eax
push 0x34773d90
mov ecx, eax
push ecx
lea edx, [esp + 0x94]
push edx
push 0x296
lea eax, [esp + 0xc80]
push eax
call fcn.3479d3de
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x216]
push ecx
push edx
push 0x34771ab0
lea eax, [esp + 0x19c]
push 0x41
push eax
mov word [esp + 0x1a4], bp
call fcn.3478258a
add esp, 0x14
push ebp
push 0x80
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x347efae8]
push 0x80
lea eax, [esp + 0x120]
push eax
mov eax, dword [edx + 0x144]
push 0x34772398
push ebp
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x88]
push edx
shr ecx, 1
lea eax, [esp + 0x744]
push eax
mov word [esp + ecx*2 + 0x114], bp
mov ecx, eax
push ecx
push edx
push eax
push ecx
push edx
push eax
lea ecx, [esp + 0x12c]
push ecx
push edx
push 0x34771ac8
lea eax, [esp + 0x11c4]
push 0x1000
push eax
call fcn.3478258a
lea eax, [esp + 0x11cc]
add esp, 0x34
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x3479de5a
push 1
push ebp
sub eax, edx
mov edx, dword [esp + 0x31ac]
lea ecx, [esp + 0x24]
push ecx
sar eax, 1
push ebp
mov ebx, eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x120]
push edx
push edi
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ecx, dword [esp + 0x1c]
push 0x70
push ebp
lea edx, [ebx + ebx]
mov ebx, dword [esp + 0x31ac]
shr edx, 1
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x11a4]
push eax
mov eax, dword [edx + 0x118]
push ecx
push ebx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [esp + 0x1c]
mov eax, dword [0x347efae8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax + 0x128]
push 0x10
push 0x70
push ebp
push ebp
push edx
push ebx
push edi
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push ebp
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + 0x6c]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ebx, dword [esp + 0x28]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x74]
push 0x34772824
push ebx
push edi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [esp + 0x10]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push ebp
push 0x80000000
push edx
push edi
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [esp + 0x14]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push ebp
push 0x80000000
push edx
push edi
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
lea esp, [esp]
cmp dword [esp + 0x20], ebp
je 0x3479e0aa
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push ebp
push 0x18
lea edx, [esp + 0x48]
push edx
mov edx, dword [ecx + 0xbc]
push 0x34772824
push eax
push edi
mov dword [esp + 0x38], ebp
call edx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [esp + 0x44]
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
cmp eax, 0x3ec
jne 0x3479e002
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x4c]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push edx
push ecx
push edi
call fcn.347b721b
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [esp + 0x14]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push ebp
push 1
push edx
push edi
call ecx
mov esi, eax
cmp esi, ebp
jge 0x3479df89
cmp esi, 0xfffff9bd
jne 0x3479e04c
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x3479e062
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x68]
push edi
call eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x3479e078
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x3479e08d
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x68]
push edi
call ecx
mov ecx, dword [esp + 0x3198]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x318c
ret 0x14
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x218]
push eax
push ecx
push edx
push edi
call fcn.347953d0
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
cmp dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x14]
je 0x3479e20f
mov edx, dword [0x347efae8]
push ebp
push 0x18
lea eax, [esp + 0x48]
push eax
mov eax, dword [edx + 0xbc]
push 0x34772824
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov eax, dword [esp + 0x44]
push ebp
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push 0x10
lea edx, [esp + 0x78]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x3479e14b
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
jmp 0x3479e153
cmp esi, ebp
jl 0x3479e04c
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x9c]
push 1
push 0x10
lea ecx, [esp + 0x70]
push ecx
push ebx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xa0]
push 1
push ebx
push edi
call edx
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
push 1
push 1
push ebp
push 0xffffb122
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x31d4]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x60]
push eax
push ebx
push ecx
push edi
call fcn.34798f2a
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov dword [esp + 0x24], ebp
jmp 0x3479e022
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x347efae8]
push 4
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 0x80]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3479e04c
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
xor ebx, ebx
shr edx, 5
je 0x3479e2a9
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push 4
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 0x7c]
push eax
push edi
call edx
mov esi, eax
cmp esi, 0xfffffbae
je 0x3479e281
cmp esi, 0xfffffbaf
je 0x3479e281
cmp esi, 0xfffffbb2
jne 0x3479e2a9
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
add ebx, 1
shr edx, 5
cmp ebx, edx
jb 0x3479e24f
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], 1
jmp 0x3479e03a