Function at 0x4afc60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1d0
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0x1e0]
mov ecx, dword [esi + 0x4c]
mov eax, ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], 0xfffffffd
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
xor ebp, ebp
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4afcb7
sub eax, edi
mov word [esi + 0x20], ax
movzx eax, ax
xor edx, edx
cmp byte [eax + ecx - 1], 0x2f
lea eax, [esp + 0x44]
sete dl
push eax
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54bb20], 0xffffffff
mov dword [0x54bb24], ebx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00482ce0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b05ec
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 0xfffffffd
jne 0x4afd1f
cmp ecx, 0xffffffff
je 0x4b05ec
cmp eax, 0xfffffffe
jne 0x4afd40
cmp ecx, 0xffffffff
jne 0x4afd40
xor eax, eax
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x4afd6a
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
shr edx, 4
and edx, 1
cmp edi, edx
je 0x4afd5a
or eax, 0xffffffff
jmp 0x4b05f1
cmp ecx, 0xffffffff
jb 0x4afd6a
ja 0x4afd66
cmp eax, 0xfffffffd
jbe 0x4afd6a
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, 0xffff
mov dword [esi + 0x1c], ecx
mov word [esi + 0x2c], ax
mov dword [esi + 0x38], ebx
cmp dword [0x4d8f44], 2
jne 0x4afdfd
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4afdc1
movzx ecx, ax
push ecx
call fcn.004b1137
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x4afdab
push 4
call fcn.004a78d0
movzx edx, word [esi + 0x22]
mov eax, dword [esi + 0x40]
push edx
push eax
push ebx
call fcn.004b1530
movzx ebx, word [esi + 0x22]
add esp, 0xc
movzx eax, word [esi + 0x24]
test ax, ax
je 0x4afdfd
movzx ecx, ax
push ecx
call fcn.004b1137
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4afde3
push 4
call fcn.004a78d0
movzx edx, word [esi + 0x24]
mov eax, dword [esi + 0x44]
push edx
push eax
push ebp
call fcn.004b1530
movzx ecx, word [esi + 0x24]
add esp, 0xc
mov dword [esp + 0x2c], ecx
cmp word [esi + 0x22], 0
je 0x4afe10
mov edx, dword [esi + 0x40]
push edx
call fcn.004b1201
add esp, 4
cmp word [esi + 0x24], 0
je 0x4afe28
mov eax, dword [esi + 0x44]
cmp dword [esi + 0x40], eax
je 0x4afe28
push eax
call fcn.004b1201
add esp, 4
mov edx, dword [esi + 0x3c]
xor ecx, ecx
xor eax, eax
mov word [esi + 0x22], cx
push edx
mov ecx, 0x5248e0
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov word [esi + 0x24], ax
call fcn.0041d400
movzx eax, al
neg eax
sbb eax, eax
not eax
and eax, dword [0x4d8f38]
cmp dword [0x52881c], 4
mov dword [esp + 0x10], eax
jne 0x4afe6f
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00482e30
mov edx, dword [esp + 0x24]
push edx
call fcn.00480d20
mov dword [esp + 0x40], eax
test eax, eax
je 0x4afe93
xor eax, eax
mov dword [0x54b704], 0xffffffff
mov dword [esp + 0x10], eax
jmp 0x4afeec
test edi, edi
je 0x4afeb5
xor eax, eax
xor edi, edi
xor edx, edx
mov dword [0x54b704], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jmp 0x4afef4
movzx eax, byte [0x528269]
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
push 0
push eax
mov eax, dword [esi + 0x60]
push 0x8000
push eax
call fcn.004b5b38
add esp, 0x10
mov dword [0x54b704], eax
cmp eax, 0xffffffff
je 0x4b05ec
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
cmp dword [0x4d8f44], 2
jne 0x4affa1
movzx eax, word [esi + 0x22]
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x30]
movzx edx, bx
push ecx
push edx
push eax
call fcn.004a9f90
mov ecx, dword [esi + 0x40]
push ecx
mov edi, eax
call fcn.004b1201
movzx edx, word [esp + 0x20]
movzx ecx, word [esi + 0x24]
add esp, 4
lea eax, [esp + 0x1c]
push eax
movzx eax, word [esp + 0x30]
push ecx
mov word [esi + 0x22], dx
mov edx, dword [esi + 0x44]
push edx
push eax
push ebp
mov dword [esi + 0x40], edi
call fcn.004a9f90
mov ecx, dword [esi + 0x44]
push ecx
mov edi, eax
call fcn.004b1201
movzx edx, word [esp + 0x20]
add esp, 4
mov word [esi + 0x24], dx
mov dword [esi + 0x44], edi
test bx, bx
je 0x4aff84
mov eax, dword [esp + 0x28]
push eax
call fcn.004b1201
add esp, 4
cmp word [esp + 0x2c], 0
je 0x4aff95
push ebp
call fcn.004b1201
add esp, 4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, edi
xor ebx, ebx
or ecx, edx
jne 0x4affad
xor eax, eax
jmp 0x4affb7
cmp eax, 0xffffffff
jne 0x4affbb
mov eax, 8
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x20]
mov ecx, 0x1f
mov word [esi], cx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xa
add ecx, 0xa
mov word [esi + 2], cx
mov dword [esi + 0xc], ebx
cmp ebp, ebx
je 0x4affe6
xor ecx, ecx
mov word [esi + 4], cx
jmp 0x4b000a
mov ecx, 8
mov word [esi + 4], cx
cmp byte [0x527dfc], 0
je 0x4b000a
mov ecx, 9
mov word [esi + 4], cx
mov ecx, dword [esi + 8]
shl ecx, 0x10
mov dword [esi + 0xc], ecx
mov cx, word [esi + 4]
mov word [esi + 0x2e], cx
mov word [esi + 6], ax
cmp eax, ebx
jne 0x4b002a
cmp edx, ebx
jl 0x4b002a
jg 0x4b0024
cmp edi, ebx
jb 0x4b002a
mov eax, edi
mov ecx, edx
jmp 0x4b002e
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, edi
and eax, edx
mov dword [esi + 0x14], ecx
cmp eax, 0xffffffff
je 0x4b0043
mov eax, edi
mov ecx, edx
jmp 0x4b0047
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x1c]
mov ecx, eax
mov dword [esi + 0x18], eax
mov eax, 0xffff
mov dword [0x54bb18], ebx
mov dword [0x54bb1c], ebx
mov dword [0x54bb10], ecx
mov dword [0x54bb14], edx
cmp word [esi + 0x2c], ax
jne 0x4b0083
xor ecx, ecx
mov word [esi + 0x2c], cx
mov dword [esp + 0x30], 1
mov edx, dword [esi + 0x38]
and edx, 0xff00
or edx, dword [esp + 0x24]
push ebx
push esi
mov dword [esi + 0x38], edx
call fcn.004ac8c0
mov edi, eax
cmp edi, ebx
je 0x4b00ba
mov eax, dword [0x54b704]
cmp eax, 0xffffffff
je 0x4b00b3
push eax
call fcn.004bd201
add esp, 4
mov eax, edi
jmp 0x4b05f1
mov eax, dword [0x509840]
mov dword [esi + 0x30], eax
mov ecx, dword [0x509844]
movzx eax, word [esi + 0x20]
mov dword [esi + 0x34], ecx
movzx ecx, word [esi + 0x22]
mov edx, dword [0x509808]
mov dword [esi + 0x28], edx
lea eax, [eax + ecx + 0x1e]
cdq
add dword [0x508358], eax
mov edi, 0xc
adc dword [0x50835c], edx
cmp ebp, ebx
jne 0x4b016e
cmp byte [0x527dfc], 0
je 0x4b016e
push 0x80
lea edx, [esp + 0xe0]
push edx
mov ecx, 0x527cfc
call fcn.0046a6c0
push 0x80
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.00456730
mov edx, dword [esi + 0xc]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.004a70e0
push 0x100
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046a760
push 0x80
lea edx, [esp + 0x60]
push edx
call fcn.0046a760
add dword [esi + 0x10], edi
adc dword [esi + 0x14], ebx
add dword [0x508358], edi
adc dword [0x50835c], ebx
mov eax, dword [0x5097dc]
push eax
call fcn.004b3862
add esp, 4
test eax, eax
je 0x4b01ad
mov eax, dword [0x54b704]
cmp eax, 0xffffffff
je 0x4b0193
push eax
call fcn.004bd201
add esp, 4
mov eax, dword [0x508354]
push eax
push ebx
push eax
push ebx
mov ecx, 0x508304
call fcn.0042d370
push 0xe
call fcn.004a78d0
mov ecx, dword [0x5097dc]
push ecx
call fcn.004b433e
mov edi, edx
mov edx, dword [0x5097dc]
push edx
mov ebp, eax
call fcn.004b3862
add esp, 8
test eax, eax
je 0x4b01de
mov eax, dword [0x5097dc]
push eax
call fcn.004b5b2d
add esp, 4
mov ecx, ebp
and ecx, edi
cmp ecx, 0xffffffff
je 0x4b01f8
cmp edi, ebx
jg 0x4b01f8
jl 0x4b01f1
cmp ebp, ebx
jae 0x4b01f8
push 6
call fcn.004a78d0
mov dword [0x54b6f0], ebx
mov dword [0x54b6f4], ebx
mov dword [0x54bb08], 0xffffffff
cmp dword [esp + 0x20], ebx
jne 0x4b0335
cmp dword [esp + 0x10], ebx
je 0x4b0241
cmp dword [esp + 0x30], ebx
je 0x4b022d
mov edx, 0xffff
mov word [esi + 0x2c], dx
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004afc20
mov edi, eax
mov ebx, edx
jmp 0x4b033d
push 0x4000
call fcn.004b1137
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x4b025e
mov eax, 4
jmp 0x4b05f1
cmp dword [esp + 0x40], ebx
je 0x4b02b8
push ebx
push edi
push 0xffffffffffffffff
xor ebp, ebp
call fcn.00422310
push ebx
push 1
push edi
mov dword [0x54bb08], eax
call fcn.004a7620
test eax, eax
je 0x4b0292
push edi
call fcn.004b1201
add esp, 4
lea eax, [ebp + 0xa]
jmp 0x4b05f1
mov dword [0x54b6f0], ebx
mov dword [0x54b6f4], ebx
push edi
call fcn.004b1201
mov edi, dword [0x54b6f0]
mov ebx, dword [0x54b6f4]
add esp, 4
jmp 0x4b0341
push 0x4000
push edi
call fcn.004afac0
mov ebp, eax
cmp ebp, ebx
jbe 0x4b029e
lea esp, [esp]
cmp ebp, 0xffffffff
je 0x4b029e
push ebx
push ebp
call fcn.00409ec0
push ebp
push 1
push edi
call fcn.004a7620
cmp eax, ebp
jne 0x4b02fc
push 0x4000
push edi
call fcn.004afac0
mov ebp, eax
cmp ebp, ebx
ja 0x4b02d0
jmp 0x4b029e
mov eax, dword [0x54b704]
cmp eax, 0xffffffff
je 0x4b030f
push eax
call fcn.004bd201
add esp, 4
push edi
call fcn.004b1201
mov eax, dword [0x508354]
add esp, 4
push eax
push ebx
push eax
push ebx
mov ecx, 0x508304
call fcn.0042d370
mov eax, 0xa
jmp 0x4b05f1
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov eax, dword [0x54b704]
cmp eax, 0xffffffff
je 0x4b037d
cmp ebp, 0xffffffff
jne 0x4b036f
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov eax, dword [0x508354]
push ecx
push edx
push eax
push 0
mov ecx, 0x508304
call fcn.0042d2d0
mov eax, dword [0x54b704]
cmp eax, 0xffffffff
je 0x4b037d
push eax
call fcn.004bd201
add esp, 4
add dword [0x508358], edi
adc dword [0x50835c], ebx
xor eax, eax
cmp dword [esp + 0x20], eax
je 0x4b03c0
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, 0xfff7
and word [esi + 4], ax
mov word [esi + 6], cx
mov edx, 0xa
mov ecx, eax
and word [esi + 0x2e], cx
mov word [esi + 2], dx
jmp 0x4b05c3
mov ecx, dword [0x54bb08]
not ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
cmp byte [0x527dfc], 0
je 0x4b03e9
mov edx, edi
add edx, 0xc
mov ecx, ebx
adc ecx, eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov edx, dword [0x54b6f0]
mov ecx, dword [0x54b6f4]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
cmp dword [0x5097b8], eax
jne 0x4b054f
mov edx, dword [0x5097dc]
push edx
call fcn.004b0780
test eax, eax
je 0x4b054f
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edx, dword [0x5097dc]
push 0
push eax
push ecx
push edx
call fcn.004b3fa3
add esp, 0x10
test eax, eax
jne 0x4b054f
cmp byte [0x527dfc], al
je 0x4b0449
add edi, 0xc
adc ebx, eax
mov edx, dword [0x509868]
mov eax, edi
mov ecx, ebx
cmp edx, eax
jne 0x4b0460
mov eax, dword [0x50986c]
cmp eax, ecx
je 0x4b0467
push 5
call fcn.004a78d0
mov eax, dword [esp + 0x10]
xor edi, edi
mov word [esi + 6], ax
cmp eax, edi
je 0x4b0485
cmp eax, 8
jne 0x4b048e
mov ecx, 0x14
mov word [esi + 2], cx
jmp 0x4b048e
mov edx, 0xa
mov word [esi + 2], dx
movzx eax, word [esi + 4]
test al, 1
jne 0x4b049f
and eax, 0xfff7
mov word [esi + 4], ax
mov ax, word [esi + 4]
mov word [esi + 0x2e], ax
cmp dword [0x509850], 1
jne 0x4b04dd
mov eax, dword [0x509838]
cmp eax, dword [0x5097dc]
je 0x4b04dd
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push edi
push ecx
push edx
push eax
call fcn.004b3fa3
add esp, 0x10
test eax, eax
je 0x4b04dd
mov eax, 0xb
jmp 0x4b05f1
push 1
push esi
call fcn.004ac8c0
cmp eax, edi
jne 0x4b05f1
mov eax, dword [0x50984c]
mov ecx, dword [0x509848]
mov edx, dword [0x5097dc]
push edi
push eax
push ecx
push edx
call fcn.004b3fa3
add esp, 0x10
test eax, eax
jne 0x4b04d3
test byte [esi + 4], 1
je 0x4b05c3
push esi
call fcn.004acec0
cmp eax, edi
jne 0x4b05f1
cmp dword [0x5097c4], edi
je 0x4b0540
add dword [0x508358], 0x18
adc dword [0x50835c], edi
jmp 0x4b05c3
add dword [0x508358], 0x10
adc dword [0x50835c], edi
jmp 0x4b05c3
mov ax, word [esi + 6]
cmp ax, word [esp + 0x10]
je 0x4b0576
mov eax, dword [0x508354]
push eax
push 0
push eax
push 0
mov ecx, 0x508304
call fcn.0042d370
push 5
call fcn.004a78d0
cmp dword [esp + 0x10], 0
jne 0x4b0594
cmp dword [esp + 0x18], 0
jg 0x4b0594
jl 0x4b058d
cmp dword [esp + 0x14], 0
jae 0x4b0594
push 0x10
call fcn.004a78d0
push esi
call fcn.004acec0
test eax, eax
jne 0x4b05f1
cmp dword [0x5097c4], eax
setne al
lea eax, [eax*8 + 0x10]
cdq
add dword [0x508358], eax
adc dword [0x50835c], edx
mov cx, word [esi + 0x2e]
mov word [esi + 4], cx
cmp word [esi + 0x22], 0
je 0x4b05e8
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x44]
je 0x4b05e2
push eax
call fcn.004b1201
add esp, 4
mov dword [esi + 0x40], 0
xor edx, edx
mov word [esi + 0x22], dx
xor eax, eax
jmp 0x4b05f1
mov eax, 0x12
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x1d0
ret 4