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

Disassembly:
sub esp, 0x4e0
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x4dc], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x50c]
mov edx, dword [esp + 0x510]
mov eax, dword [esp + 0x4f8]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x514]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x520]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x518]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x524]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x528]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x50]
mov dword [esp + 0x28], ecx
or ecx, 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax + 4]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x34], edx
mov edx, ebp
mov dword [esp + 0x44], eax
imul edx, edx, 0x64
mov eax, dword [eax + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [0x347efae8]
mov eax, dword [eax + 0x22c]
mov edx, dword [eax + edx + 0x44]
push 0x27
lea eax, [esp + 0x2a0]
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], edx
call fcn.347b6f2b
mov eax, dword [0x347efae8]
mov edi, dword [esp + 0x4f4]
mov ecx, dword [eax + 0xc0]
push 1
push 0x3c
lea edx, [esp + 0x74]
push edx
push ebx
push ebp
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
push ebx
push 0x80
lea edx, [esp + 0x70]
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x144]
push 0x80
lea ecx, [esp + 0x1a8]
push ecx
push 0x34772398
push ebx
push ebp
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
mov eax, dword [0x347efae8]
push ebx
push 0x80000000
shr ecx, 1
push edx
mov word [esp + ecx*2 + 0x1a0], bx
mov ecx, dword [eax + 0x84]
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x3479ce89
mov ecx, dword [esp + 0x7c]
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x7c]
push 4
lea eax, [esp + 0x40]
push eax
mov eax, dword [0x347efae8]
push ecx
push edx
mov word [esp + 0x12c], bx
mov ecx, dword [eax + 0x88]
push edi
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x3479c78e
mov dword [esp + 0x30], ebx
jmp 0x3479c796
cmp esi, ebx
jl 0x3479ce93
test byte [esp + 0x30], 1
je 0x3479ce68
mov ecx, dword [esp + 0xa4]
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x7c]
push 0x80
lea eax, [esp + 0x120]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x10]
cmp eax, 0x80
jb 0x3479c7ea
mov eax, 0x80
lea edx, [esp + 0x194]
mov word [esp + eax + 0x110], bx
push edx
lea eax, [esp + 0x114]
push eax
call fcn.34776ce7
add esp, 8
test eax, eax
je 0x3479ce68
mov eax, dword [esp + 0x90]
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x7c]
push 4
lea edx, [esp + 0x2c]
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 0x3479c84c
mov dword [esp + 0x1c], ebx
jmp 0x3479c854
cmp esi, ebx
jl 0x3479ce93
cmp dword [esp + 0x1c], ebx
jne 0x3479c8d4
mov eax, dword [esp + 0x78]
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x7c]
push 0x80
lea edx, [esp + 0x228]
push edx
mov edx, dword [0x347efae8]
push eax
push ecx
mov dword [esp + 0x40], ebx
mov word [esp + 0x234], bx
mov eax, dword [edx + 0x88]
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x10]
cmp eax, 0x80
jb 0x3479c8ad
mov eax, 0x80
mov edx, dword [0x347efae8]
lea ecx, [esp + 0x218]
push ecx
push ebp
mov word [esp + eax + 0x220], bx
mov eax, dword [edx + 0x74]
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x20]
push ebx
push 0x18
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0x11c]
push edx
mov edx, dword [ecx + 0xbc]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
cmp dword [esp + 0x51c], 2
jne 0x3479c99f
cmp dword [esp + 0x28], ebx
je 0x3479c99f
test dword [esp + 0x40], 0x20000
je 0x3479c99f
mov edx, dword [0x347efae8]
push ebx
push 0x18
lea eax, [esp + 0x58]
push eax
mov eax, dword [edx + 0xbc]
lea ecx, [esp + 0x11c]
push ecx
push ebp
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
push ebp
push edx
push edi
call fcn.347bee0b
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 4]
mov dword [esp + 0x4c], ebx
mov eax, ecx
and ecx, 7
mov ebx, 0x80
sar ebx, cl
shr eax, 3
test byte [eax + edx], bl
mov ebx, dword [esp + 0x4c]
je 0x3479c9de
mov edx, dword [esp + 0xac]
push ebx
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x2fc]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
jmp 0x3479cb1d
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x6c]
push ebx
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x14]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x74]
push 0x34772824
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x14]
mov edx, dword [0x347efae8]
push 1
push 0x10
lea eax, [esp + 0xc8]
push eax
mov eax, dword [edx + 0x9c]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x14]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xa0]
push 1
push ecx
push edi
call eax
mov esi, eax
cmp esi, 0xfffff9bf
jne 0x3479ca97
mov eax, dword [esp + 0xac]
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x200
lea edx, [esp + 0x2fc]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
jmp 0x3479cafa
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x14]
push ebx
push 0x18
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0x11c]
push edx
mov edx, dword [ecx + 0xbc]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov edx, dword [esp + 0x54]
push ebx
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 0x200
lea ecx, [esp + 0x2fc]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x14]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x1c], ebx
jne 0x3479cb44
mov eax, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push 1
push eax
mov eax, dword [edx + 0x9c]
lea ecx, [esp + 0x2f4]
push ecx
push ebp
push edi
call eax
jmp 0x3479cb61
mov ecx, dword [esp + 0x10]
mov eax, dword [0x347efae8]
push ebx
push ecx
mov ecx, dword [eax + 0x9c]
lea edx, [esp + 0x2f4]
push edx
push ebp
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x8c]
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x7c]
push 4
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push edi
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x3479cba4
mov dword [esp + 0x24], ebx
jmp 0x3479cbac
cmp esi, ebx
jl 0x3479ce93
mov edx, dword [esp + 0x1c]
add edx, 1
cmp edx, dword [esp + 0x24]
jb 0x3479ce68
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa0]
push 1
push ebp
push edi
call ecx
mov esi, eax
cmp esi, 0xfffff9bf
je 0x3479ce68
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x20]
push ebx
push 0x18
lea edx, [esp + 0x58]
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x1a0]
push eax
mov eax, dword [edx + 0xbc]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [esp + 0x54]
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push 0x10
lea edx, [esp + 0xf0]
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 0x3479cc66
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
jmp 0x3479cc6e
cmp esi, ebx
jl 0x3479ce93
mov eax, dword [0x347efae8]
push ebx
push 0x18
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 0xbc]
lea edx, [esp + 0x1a0]
push edx
push ebp
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x3479ce93
mov ecx, dword [esp + 0x54]
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x347efae8]
push 0x10
lea eax, [esp + 0xe0]
push eax
mov eax, dword [edx + 0x88]
push ecx
push ebp
push edi
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x3479cce7
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
jmp 0x3479ccef
cmp esi, ebx
jl 0x3479ce93
mov eax, 0x10
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xe0]
lea ebx, [ebx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x3479cd1c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x3479cd04
cmp eax, ebx
je 0x3479cd81
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x3479cd6b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x3479cd7d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x3479cd6b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x3479cd7d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x3479cd6b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x3479cd7d
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x3479cd7d
cmp esi, ebx
mov ebp, dword [esp + 0x18]
mov eax, 1
jg 0x3479cd83
or eax, 0xffffffff
jmp 0x3479cd83
mov ebp, dword [esp + 0x18]
xor eax, eax
cmp eax, ebx
je 0x3479ce68
mov ebx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0xf0]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x11c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x120], edx
mov edx, dword [eax]
push ecx
push edx
push edi
call fcn.347b6f94
mov esi, eax
test esi, esi
jl 0x3479ce93
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
push 1
push 1
push 0
push 0xffffb122
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x128]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x12c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
push edi
call fcn.34798f2a
mov esi, eax
test esi, esi
jl 0x3479ce93
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov dword [eax], 1
xor ebx, ebx
mov ecx, dword [esp + 0x70]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x84]
push ebx
push 1
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebx
jge 0x3479c750
cmp esi, 0xfffff9bd
jne 0x3479ce93
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x3479ceb1
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x48]
mov dword [eax], 1
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
je 0x3479ced1
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov ecx, dword [esp + 0x4ec]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x4e0
ret 0x38