Function at 0x59e040
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x59e048
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x59eabf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
test eax, eax
je 0x59eaa4
mov eax, dword [eax + 0x490]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x514]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
add eax, 0x518
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
call fcn.00404fbc
mov eax, dword [ebx]
mov eax, dword [eax + 0x1d0]
mov edx, dword [ebx]
mov edx, dword [edx + 0x178]
mov dword [edx + 0x51c], eax
mov eax, dword [ebx]
call fcn.0059cf04
mov al, byte [eax + 4]
mov edx, dword [ebx]
mov edx, dword [edx + 0x178]
mov byte [edx + 0x520], al
mov eax, dword [ebx]
call fcn.0059cf04
cmp byte [eax + 4], 0
je 0x59e0f7
mov eax, dword [ebx]
call fcn.0059df60
jmp 0x59e2eb
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x214]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
or edx, 0xffffffff
call fcn.0044359c
mov dword [ebp - 8], 0xffffffff
push ebp
mov edx, dword [0x62861c]
mov edx, dword [edx]
xor eax, eax
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x6286e0]
mov edx, dword [edx]
mov al, 1
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x62928c]
mov edx, dword [edx]
mov al, 2
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628e44]
mov edx, dword [edx]
mov al, 3
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x629428]
mov edx, dword [edx]
mov al, 4
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628bbc]
mov edx, dword [edx]
mov al, 9
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628f4c]
mov edx, dword [edx]
mov al, 5
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628ee4]
mov edx, dword [edx]
mov al, 6
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x6291d0]
mov edx, dword [edx]
mov al, 7
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628834]
mov edx, dword [edx]
mov al, 8
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628b38]
mov edx, dword [edx]
mov al, 0xa
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628b84]
mov edx, dword [edx]
mov al, 0xc
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x6290d0]
mov edx, dword [edx]
mov al, 0xb
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628ee0]
mov edx, dword [edx]
mov al, 0xd
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628924]
mov edx, dword [edx]
mov al, 0xe
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x629314]
mov edx, dword [edx]
mov al, 0xf
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628d84]
mov edx, dword [edx]
mov al, 0x10
call fcn.0059dfa4
pop ecx
push ebp
mov edx, dword [0x628ebc]
mov edx, dword [edx]
mov al, 0x11
call fcn.0059dfa4
pop ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x214]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 5
jle 0x59e297
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
mov edx, 2
call fcn.00443564
jmp 0x59e2af
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
mov edx, 1
call fcn.00443564
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov esi, dword [eax + 0x318]
cmp dword [esi + 0x218], 0xffffffff
jne 0x59e2eb
mov eax, dword [esi + 0x214]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x59e2eb
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x318]
mov edx, dword [ebp - 8]
call fcn.0044359c
mov eax, dword [ebx]
cmp byte [eax + 0x64], 0
je 0x59e30d
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x344]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xcc]
jmp 0x59e325
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x340]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x490]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
call fcn.0059f188
cmp al, 2
jne 0x59e4b7
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x344]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x59e4b7
mov eax, dword [0x629568]
mov eax, dword [eax]
call fcn.00405238
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x59e4b7
inc esi
xor edi, edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
mov edx, edi
call fcn.00421f48
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
call fcn.00422128
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
xor ecx, ecx
call fcn.005a2b44
cmp dword [ebp - 0x18], 0
je 0x59e4af
mov edx, dword [ebp - 0x18]
mov eax, 0x59ead8
call fcn.0040557c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x59e4af
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
dec ecx
mov edx, dword [ebp - 0x10]
inc edx
mov eax, dword [ebp - 0x18]
call fcn.00405498
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.0040aa74
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
je 0x59e455
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, dword [ebp - 8]
je 0x59e455
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x490]
mov edx, dword [ebp - 8]
call fcn.004205d0
test eax, eax
jge 0x59e455
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x490]
mov edx, dword [ebp - 8]
call fcn.00420418
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405238
mov ecx, eax
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 0x18]
call fcn.00405498
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.0040aa74
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x490]
mov edx, dword [ebp - 0x14]
call fcn.004205d0
test eax, eax
jge 0x59e4af
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x490]
mov edx, dword [ebp - 0x14]
call fcn.00420418
inc edi
dec esi
jne 0x59e397
mov eax, dword [ebx]
call fcn.00568f58
mov edx, dword [ebx]
mov esi, dword [edx + 0x178]
mov dword [esi + 0x508], eax
mov eax, dword [ebx]
cmp dword [eax + 0x78], 0
jne 0x59e4f5
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.00569c78
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
add eax, 0x50c
call fcn.00404fbc
jmp 0x59e505
lea eax, [esi + 0x50c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x78]
call fcn.00404fbc
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x324]
call fcn.0048521c
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 0x7c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov al, byte [eax + 0x5c]
sub al, 1
jb 0x59e54d
dec al
je 0x59e567
dec al
je 0x59e584
jmp 0x59e5a1
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x358]
call fcn.0048521c
jmp 0x59e5b9
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x358]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x59e5b9
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x358]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x59e5b9
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x358]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov al, byte [eax + 0x5a]
dec al
je 0x59e5cc
dec al
je 0x59e5f1
dec al
je 0x59e60e
jmp 0x59e62b
lea eax, [ebp - 0x30]
mov edx, dword [ebx]
mov dl, byte [edx + 0x5b]
call fcn.00405150
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x35c]
call fcn.0048521c
jmp 0x59e643
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x35c]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x59e643
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x35c]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x59e643
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x35c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
movzx eax, byte [eax + 0x58]
cmp eax, 5
ja case.0x59e652.0
jmp dword [eax*4 + 0x59e659]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
mov edx, 5
call fcn.0044359c
lea eax, [ebp - 0x34]
mov edx, dword [ebx]
mov dl, byte [edx + 0x59]
call fcn.00405150
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x34c]
call fcn.0048521c
jmp 0x59e72b
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.0044359c
jmp 0x59e72b
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
mov edx, 1
call fcn.0044359c
jmp 0x59e72b
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
mov edx, 2
call fcn.0044359c
jmp 0x59e72b
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
mov edx, 3
call fcn.0044359c
jmp 0x59e72b
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x348]
mov edx, 4
call fcn.0044359c
lea edx, [ebp - 0x38]
mov eax, dword [ebx]
mov eax, dword [eax + 0x6c]
call fcn.0040a818
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x368]
call fcn.0048521c
mov eax, dword [ebx]
mov esi, dword [eax + 0x70]
cmp esi, 0x7fffffff
je 0x59e77b
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.0040a818
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x370]
call fcn.0048521c
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
mov eax, dword [eax + 0x74]
call fcn.0040a818
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x414]
call fcn.0048521c
mov eax, dword [0x628ba0]
mov eax, dword [eax]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3a8]
xor ecx, ecx
mov edx, 1
call fcn.004db7ec
mov eax, dword [0x628f48]
mov eax, dword [eax]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3a8]
xor ecx, ecx
mov edx, 2
call fcn.004db7ec
mov eax, dword [ebx]
mov esi, dword [eax + 0x80]
cmp dword [esi + 0x10], 0
je 0x59e836
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x428]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov esi, dword [eax + 0x380]
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x59e851
xor edx, edx
mov dl, byte [esi + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x380]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x380]
mov esi, eax
mov edx, eax
mov eax, dword [esi + 0x21c]
call dword [esi + 0x218]
lea eax, [ebp - 0x44]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
mov dl, byte [edx + 5]
call fcn.00405150
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x430]
call fcn.0048521c
lea eax, [ebp - 0x48]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
mov dl, byte [edx + 6]
call fcn.00405150
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x438]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov dl, byte [eax + 7]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x41c]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov dl, byte [eax + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x420]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
lea eax, [ebp - 0x4c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
mov dl, byte [edx + 0xa]
call fcn.00405150
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x384]
call fcn.0048521c
lea eax, [ebp - 0x50]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
mov dl, byte [edx + 9]
call fcn.00405150
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3d8]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3e0]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov edx, dword [eax + 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3e8]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3ec]
call fcn.0048521c
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3c0]
call fcn.0044359c
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x330]
call fcn.0048521c
mov eax, dword [ebx]
cmp dword [eax + 0x174], 0xffffffff
jle 0x59ea2a
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3c4]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x174]
jle 0x59ea2a
mov eax, dword [ebx]
mov edx, dword [eax + 0x174]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x3c4]
call fcn.00572460
mov eax, dword [ebx]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x444]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x48]
cmp dword [eax + 4], 0
setne dl
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x44c]
call fcn.0048521c
mov eax, dword [ebx]
mov eax, dword [eax + 0x48]
cmp dword [eax + 8], 0
setne dl
mov eax, dword [ebx]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59eac6
lea eax, [ebp - 0x50]
mov edx, 0xf
call fcn.00404f8c
ret