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

Disassembly:
sub esp, 0x2fc
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
mov ebx, dword [esp + 0x30c]
push ebp
mov ebp, dword [ebx + 0x50]
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x100]
push esi
mov esi, dword [esp + 0x30c]
push edi
push 0x80400000
push 0x3477261c
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [0x347efae8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x60]
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], ebp
call ecx
test eax, eax
jl 0x3479bdc3
mov edx, dword [esp + 0x10]
push 0
push 0x18
lea eax, [esp + 0x2c]
push eax
mov dword [ebp + 0x18], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xbc]
push 0x34773120
push ecx
push esi
call eax
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x28]
push 0x100
lea edx, [ebp + 0x1178]
push edx
push 0x3477261c
mov dword [ebp + 0xa8], ecx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 0
push 0
push ebp
push esi
call fcn.34795e55
test eax, eax
jl 0x3479bdc3
mov edi, dword [ebp + 0x14]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x74]
push 0x34772824
push edi
push esi
mov dword [esp + 0x60], edi
call ecx
test eax, eax
jl 0x3479bdc3
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xbc]
push 0
push 0x18
lea edx, [esp + 0x2c]
push edx
push 0x347727f4
push edi
push esi
call ecx
test eax, eax
jl 0x3479bdc3
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x114], eax
mov dword [ebp + 0x118], eax
push eax
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [0x347efae8]
push 0x18
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx + 0xbc]
push 0x347727f4
push ecx
push esi
call eax
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push 0
push 0x18
lea edx, [esp + 0x2c]
push edx
push 0x34772824
mov dword [esp + 0x54], ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xbc]
push eax
push esi
call edx
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0
push 0x18
lea ecx, [esp + 0x2c]
push ecx
push 0x347730ec
mov dword [esp + 0x60], eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xbc]
push edx
push esi
call ecx
test eax, eax
jl 0x3479bdc3
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push 0x18
lea eax, [esp + 0x2c]
push eax
push 0x347728ec
mov dword [esp + 0x4c], edx
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xbc]
push ecx
push esi
call eax
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push 0
push 0x18
lea edx, [esp + 0x2c]
push edx
push 0x34772974
mov dword [esp + 0x70], ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xbc]
push eax
push esi
call edx
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x28]
mov edx, dword [0x347efae8]
push 0
push 0x18
lea ecx, [esp + 0x2c]
push ecx
push 0x34772824
push edi
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xbc]
push esi
call eax
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x28]
mov eax, dword [0x347efae8]
push 0
push 0x18
lea edx, [esp + 0x2c]
push edx
push 0x347730ec
push edi
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0xbc]
push esi
call ecx
test eax, eax
jl 0x3479bdc3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push 0x347727f4
push eax
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0x74]
push esi
call edx
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push 1
push 4
lea eax, [esp + 0x54]
push eax
mov eax, dword [edx + 0x9c]
push ecx
push esi
call eax
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xa0]
push 0x10
push ecx
push esi
call eax
test eax, eax
jl 0x3479bdb5
jmp 0x3479ba78
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x2c]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push esi
call eax
cmp eax, 0x3ec
jne 0x3479bab2
mov dword [esp + 0x1c], 0
jmp 0x3479baba
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.34794dd2
mov ecx, dword [esp + 0x50]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push 0x10
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push esi
call ecx
cmp eax, 0x3ec
jne 0x3479bb08
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
jmp 0x3479bb10
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x3c]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push 0x10
lea eax, [esp + 0x84]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push esi
call ecx
cmp eax, 0x3ec
jne 0x3479bb59
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
jmp 0x3479bb61
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x58]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push esi
call ecx
cmp eax, 0x3ec
jne 0x3479bb9a
mov dword [esp + 0x20], 0
jmp 0x3479bba2
test eax, eax
jl 0x3479bdc3
mov ecx, dword [esp + 0x60]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push 0x1fe
lea eax, [esp + 0x118]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push esi
call ecx
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x14]
cmp eax, 0x1fe
jb 0x3479bbe8
mov eax, 0x1fe
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x7c]
mov word [esp + eax + 0x10c], 0
mov eax, dword [esp + 0x44]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x98]
push edi
mov dword [eax + 8], ecx
push esi
mov dword [eax + 0xc], edx
call fcn.347be5e9
cmp eax, 0xfffff9bf
je 0x3479bc60
cmp eax, 0xfffff9bd
jne 0x3479bc79
mov eax, dword [ebx + 0x4b4]
and eax, 0x6000
push eax
push 1
push 0
push 0
push ebp
push esi
call fcn.34795706
test eax, eax
jl 0x3479bdc3
test byte [ebp + 0x1378], 4
je 0x3479bcf0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x334]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x24]
push eax
push ecx
push esi
call fcn.347bea78
test eax, eax
jl 0x3479bdc3
mov eax, 0x10
mov ecx, 0x347741fc
lea edx, [esp + 0x74]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x3479bd16
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x3479bcfe
test eax, eax
je 0x3479bd73
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x3479bd65
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x3479bd73
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x3479bd65
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x3479bd73
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x3479bd65
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x3479bd73
movzx eax, byte [ecx]
movzx edi, byte [edx]
sub edi, eax
je 0x3479bd73
test edi, edi
mov eax, 1
jg 0x3479bd75
or eax, 0xffffffff
jmp 0x3479bd75
xor eax, eax
test eax, eax
jne 0x3479be00
lea ecx, [esp + 0x64]
push ecx
push ebp
push esi
call fcn.347aab14
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x18]
add dword [eax + 0x70], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x84]
push 0
push 1
push ecx
push esi
call eax
test eax, eax
jge 0x3479ba70
cmp eax, 0xfffff9bd
je 0x3479bdc3
cmp eax, 0xfffff9bf
jne 0x3479bde5
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
je 0x3479bde3
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push esi
call edx
test eax, eax
jl 0x3479bdc3
mov dword [ebp + 0x20], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0x308]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x2fc
ret 0xc
mov edi, dword [esp + 0x314]
lea edx, [esp + 0x14]
push edx
push 0x80
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x80]
push ecx
push edi
push esi
call fcn.347a0759
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x14]
cmp eax, 0x80
jb 0x3479be3c
mov eax, 0x80
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ebp
sub esp, 0x10
mov word [esp + eax + 0x98], 0
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x94]
push edi
mov dword [eax + 8], edx
push esi
mov dword [eax + 0xc], ecx
call fcn.34796a14
test eax, eax
jl 0x3479bdc3
mov ebx, dword [ebp + 0x20]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x9c]
push 1
push 0x10
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
call ecx
test eax, eax
jl 0x3479bdc3
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xa0]
push 1
push ebx
push esi
call eax
cmp eax, 0xfffff9bf
je 0x3479bd95
test eax, eax
jl 0x3479bdc3
mov ecx, 0x347735e0
lea eax, [esp + 0x108]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x3479bef6
test dx, dx
je 0x3479bef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x3479bef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x3479bed0
xor eax, eax
jmp 0x3479befb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x3479bf5f
mov edx, dword [esp + 0x20]
mov edi, dword [0x3477418c]
mov ebp, dword [0x34774190]
push 1
push 1
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [0x34774184]
push edx
mov edx, dword [0x34774188]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x344]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x48]
push eax
push ebx
push ecx
push esi
call fcn.34798f2a
mov ebp, dword [esp + 0x48]
jmp 0x3479bfca
lea edx, [esp + 0x84]
push edx
call fcn.347bd55c
test eax, eax
jne 0x3479bfba
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x70]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
push edx
push ebx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x30]
push eax
push edi
push esi
call fcn.347964d5
test eax, eax
jl 0x3479bdc3
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x98]
push ebx
push esi
call edx
mov edi, eax
test edi, edi
jge 0x3479bd8d
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x318]
push 0x80
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x80]
push edx
push eax
push esi
call fcn.347a0759
test eax, eax
jl 0x3479bdc3
mov eax, dword [esp + 0x14]
cmp eax, 0x80
jb 0x3479c014
mov eax, 0x80
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
push 0x46
push edi
push 0
sub esp, 0x10
mov word [esp + eax + 0xa0], 0
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xa0]
push eax
push ebp
push esi
call fcn.34796be3
test eax, eax
jl 0x3479bdc3
jmp 0x3479bd95