Function at 0x56f190
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
mov ecx, dword [0x9671d8]
push ebx
mov ebx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x18]
push ebp
push esi
push edi
mov edi, dword [ebx + 8]
push 0x1050d
shl eax, 2
push eax
mov dword [esp + 0x38], edi
call dword [ecx + 0x108]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [0x9671d8]
push 0x1050d
shl edx, 2
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x18]
mov edx, dword [0x9671d8]
shl ecx, 2
push 0x1050d
push ecx
mov dword [esp + 0x40], eax
call dword [edx + 0x108]
mov ecx, dword [0x9671d8]
mov esi, eax
mov eax, dword [ebx + 0x18]
push 0x1050d
shl eax, 2
push eax
mov dword [esp + 0x44], esi
call dword [ecx + 0x108]
mov ebp, eax
mov eax, dword [ebx + 0x10]
push 0x1050d
mov dword [esp + 0x44], ebp
lea edx, [eax + eax*2]
mov eax, dword [0x9671d8]
shl edx, 3
push edx
call dword [eax + 0x108]
mov ecx, edi
mov edi, dword [esp + 0x40]
and ecx, 0x10
add esp, 0x28
cmp ecx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
jne 0x56f266
test edi, edi
je 0x56f862
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x56f862
test esi, esi
je 0x56f862
test ebp, ebp
je 0x56f862
test eax, eax
je 0x56f875
mov eax, dword [ebx + 0x10]
xor esi, esi
test eax, eax
jle 0x56f2db
mov ecx, dword [esp + 0x14]
lea ebp, [ecx + 6]
jmp 0x56f294
mov ebp, dword [esp + 0x60]
mov eax, dword [ebx + 0x2c]
lea edx, [esi*8]
xor ecx, ecx
mov di, word [eax + edx + 6]
mov eax, ebp
add ebp, 0x18
mov dword [esp + 0x60], ebp
mov word [eax - 2], di
mov ebp, dword [ebx + 0x2c]
add eax, 8
mov bp, word [edx + ebp]
add edx, 2
mov word [eax - 8], bp
mov ebp, ecx
shl ebp, 0x1e
or ebp, esi
inc ecx
mov dword [eax - 0xe], ebp
cmp ecx, 3
jl 0x56f2ae
mov eax, dword [ebx + 0x10]
inc esi
cmp esi, eax
jl 0x56f290
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x14]
push 0x56f8e0
push 8
lea ecx, [eax + eax*2]
push ecx
push esi
call fcn.00604ce0
mov eax, dword [ebx + 0x10]
add esp, 0x10
or ebp, 0xffffffff
xor ecx, ecx
lea edi, [eax + eax*2]
test edi, edi
jle 0x56f332
lea eax, [esi - 2]
test ecx, ecx
je 0x56f329
mov dx, word [eax - 2]
mov si, word [eax + 6]
cmp dx, si
jg 0x56f329
jl 0x56f329
mov dx, word [eax]
mov si, word [eax + 8]
cmp dx, si
ja 0x56f329
jae 0x56f32a
inc ebp
inc ecx
add eax, 8
cmp ecx, edi
jl 0x56f308
mov eax, dword [0x9671d8]
lea esi, [ebp + 1]
push 0x1050d
mov dword [esp + 0x20], esi
lea edx, [esi + esi]
push edx
call dword [eax + 0x108]
mov ebp, dword [esp + 0x38]
mov edi, eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x10]
and eax, 0xff
add esp, 8
shl eax, 0x10
or eax, ebp
push 0xfff
push eax
push ecx
push esi
mov dword [esp + 0x70], edi
call fcn.0056bc40
add esp, 0xc
push eax
call fcn.0056b9b0
add esp, 8
mov ebp, eax
test edi, edi
mov dword [esp + 0x10], ebp
je 0x56f802
test ebp, ebp
je 0x56f802
mov eax, dword [ebx + 0x10]
xor edi, edi
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + eax*2]
test edx, edx
jle 0x56f438
mov eax, dword [esp + 0x14]
lea ecx, [eax - 2]
mov eax, dword [ecx + 2]
mov edx, eax
and edx, 0xc0000000
mov esi, edx
not esi
and eax, esi
shr edx, 0x1e
test edi, edi
je 0x56f3f1
mov si, word [ecx - 2]
mov bp, word [ecx + 6]
cmp si, bp
jg 0x56f3ed
jl 0x56f3ed
mov si, word [ecx]
mov bp, word [ecx + 8]
cmp si, bp
ja 0x56f3ed
jae 0x56f3f7
mov ebp, dword [esp + 0x10]
inc dword [esp + 0x2c]
jmp 0x56f3fb
mov ebp, dword [esp + 0x10]
lea esi, [eax*8]
mov eax, dword [ebp + 0x2c]
mov ebp, dword [esp + 0x2c]
add eax, esi
inc edi
add ecx, 8
mov word [eax + edx*2], bp
mov edx, dword [ebx + 0x2c]
mov dx, word [edx + esi + 6]
mov word [eax + 6], dx
mov edx, dword [esp + 0x60]
mov ax, word [ecx]
mov word [edx + ebp*2], ax
mov eax, dword [ebx + 0x10]
mov ebp, dword [esp + 0x10]
lea eax, [eax + eax*2]
cmp edi, eax
jl 0x56f3b8
mov ecx, dword [esp + 0x14]
mov edx, dword [0x9671d8]
push ecx
call dword [edx + 0x10c]
mov eax, dword [ebx + 0x18]
add esp, 4
xor esi, esi
dec eax
test eax, eax
jle 0x56f468
push ebp
call fcn.0056b8d0
mov ecx, dword [ebx + 0x18]
add esp, 4
inc esi
dec ecx
cmp esi, ecx
jl 0x56f456
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
je 0x56f4b7
push ebp
call fcn.0056be70
mov edx, dword [esp + 0x24]
mov eax, dword [0x9671d8]
push edx
call dword [eax + 0x10c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x9671d8]
push ecx
call dword [edx + 0x10c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
xor edx, edx
test eax, eax
jle 0x56f4ec
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
xor eax, eax
sub esi, ecx
mov edi, dword [ebx + 0x5c]
inc edx
add ecx, 4
mov edi, dword [edi + eax + 0x14]
add eax, 0x1c
mov dword [esi + ecx - 4], edi
mov edi, dword [ebp + 0x5c]
mov edi, dword [eax + edi - 8]
mov dword [ecx - 4], edi
mov edi, dword [ebx + 0x18]
cmp edx, edi
jl 0x56f4c9
cmp dword [esp + 0x40], 0x10
jne 0x56f535
mov eax, dword [ebx + 0x18]
xor edx, edx
test eax, eax
mov dword [esp + 0x3c], 1
jle 0x56f53d
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
xor eax, eax
sub esi, ecx
mov edi, dword [ebx + 0x5c]
inc edx
add ecx, 4
mov edi, dword [edi + eax + 0x18]
add eax, 0x1c
mov dword [esi + ecx - 4], edi
mov edi, dword [ebp + 0x5c]
mov edi, dword [eax + edi - 4]
mov dword [ecx - 4], edi
mov edi, dword [ebx + 0x18]
cmp edx, edi
jl 0x56f510
jmp 0x56f53d
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x30]
and edx, 8
cmp dl, 8
jne 0x56f561
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jmp 0x56f569
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x56f658
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x60]
xor eax, eax
mov ax, word [edx + ecx*2]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x56f59f
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edx, dword [edx + eax*4]
mov dword [esi + ecx*4], edx
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x40], 0
test edx, edx
jle 0x56f63c
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x20]
sub esi, eax
sub edx, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x28]
shl ecx, 2
sub esi, eax
mov dword [esp + 0x48], esi
mov esi, dword [eax + edx]
mov edi, dword [eax]
mov ebp, dword [esp + 0x2c]
add esi, ecx
add edi, ebp
mov ebp, dword [esi]
mov dword [edi], ebp
mov ebp, dword [esi + 4]
mov dword [edi + 4], ebp
mov esi, dword [esi + 8]
mov dword [edi + 8], esi
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x56f621
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esi + eax]
mov edi, dword [edi + eax]
add esi, ecx
add edi, ebp
mov ebp, dword [esi]
mov dword [edi], ebp
mov ebp, dword [esi + 4]
mov dword [edi + 4], ebp
mov esi, dword [esi + 8]
mov dword [edi + 8], esi
mov esi, dword [esp + 0x40]
mov edi, dword [ebx + 0x18]
inc esi
add eax, 4
cmp esi, edi
mov dword [esp + 0x40], esi
jl 0x56f5d6
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
inc ecx
add edx, 0xc
cmp ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
jl 0x56f57f
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x56f6c5
mov edi, ebx
lea esi, [ebp + 0x34]
sub edi, ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
mov edx, dword [edi + esi]
mov ecx, dword [esi]
xor eax, eax
cmp dword [esp + 0x1c], eax
jle 0x56f6ae
mov edi, dword [esp + 0x60]
xor esi, esi
add ecx, 8
mov si, word [edi + eax*2]
inc eax
mov edi, dword [edx + esi*8]
mov dword [ecx - 8], edi
mov esi, dword [edx + esi*8 + 4]
mov dword [ecx - 4], esi
mov esi, dword [esp + 0x1c]
cmp eax, esi
jl 0x56f683
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x1c]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], esi
jl 0x56f676
mov eax, dword [ebp + 0x18]
xor edi, edi
test eax, eax
jle 0x56f71a
mov dword [esp + 0x2c], edi
mov esi, dword [ebp + 0x5c]
mov eax, dword [esp + 0x2c]
add esi, eax
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0056b600
mov ecx, dword [esp + 0x54]
add esi, 4
add esp, 8
inc edi
mov dword [esi], ecx
mov edx, dword [esp + 0x50]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x18]
add ecx, 0x1c
cmp edi, eax
mov dword [esp + 0x2c], ecx
jl 0x56f6d2
mov edx, dword [esp + 0x20]
mov eax, dword [0x9671d8]
push edx
call dword [eax + 0x10c]
mov ecx, dword [esp + 0x28]
mov edx, dword [0x9671d8]
push ecx
call dword [edx + 0x10c]
mov eax, dword [esp + 0x30]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
mov edx, dword [esp + 0x24]
mov eax, dword [0x9671d8]
push edx
call dword [eax + 0x10c]
lea ecx, [ebx + 0x20]
lea edx, [ebp + 0x20]
push ecx
push edx
call fcn.00576f80
add esp, 0x18
test eax, eax
jne 0x56f794
mov eax, dword [esp + 0x60]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
push ebp
call fcn.0056be70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call fcn.0056b520
test eax, eax
je 0x56f7c1
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x56f7ba
mov edx, dword [eax]
lea esi, [edx + ebx]
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x56f79d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x56f7da
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
push ecx
push edx
push ebp
push ebx
call eax
add esp, 0x10
mov eax, dword [esp + 0x60]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
push ebp
call fcn.0056b9e0
add esp, 8
test eax, eax
je 0x56f84f
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x14]
mov eax, dword [0x9671d8]
push edx
call dword [eax + 0x10c]
mov ecx, dword [esp + 0x24]
mov edx, dword [0x9671d8]
push ecx
call dword [edx + 0x10c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x9671d8]
push eax
call dword [ecx + 0x10c]
add esp, 0xc
test edi, edi
je 0x56f84b
mov edx, dword [0x9671d8]
push edi
call dword [edx + 0x10c]
add esp, 4
test ebp, ebp
je 0x56f8c8
push ebp
call fcn.0056be70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test eax, eax
je 0x56f875
push eax
mov eax, dword [0x9671d8]
call dword [eax + 0x10c]
add esp, 4
test ebp, ebp
je 0x56f889
mov ecx, dword [0x9671d8]
push ebp
call dword [ecx + 0x10c]
add esp, 4
test esi, esi
je 0x56f89d
mov edx, dword [0x9671d8]
push esi
call dword [edx + 0x10c]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56f8b4
push eax
mov eax, dword [0x9671d8]
call dword [eax + 0x10c]
add esp, 4
test edi, edi
je 0x56f8c8
mov ecx, dword [0x9671d8]
push edi
call dword [ecx + 0x10c]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret