Function at 0x4b2120
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x546eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x10], esi
je 0x4b2150
mov dword [eax], 0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
mov ecx, esi
call fcn.0047e8a0
mov ebx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], ebx
jne 0x4b2245
mov eax, dword [esp + 0x64]
mov ecx, esi
push eax
push ebx
call fcn.00496fb0
mov ebp, eax
push ebp
call fcn.004a9fc0
mov edi, dword [esp + 0x6c]
mov esi, eax
add esp, 4
cmp esi, 1
je 0x4b21b5
cmp esi, 8
jne 0x4b21c3
mov ecx, edi
call fcn.00516462
mov ecx, edi
call fcn.00516416
mov ecx, dword [esp + 0x68]
mov edi, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], edi
call fcn.004733a0
cmp esi, 8
mov dword [esp + 0x58], 0
jne 0x4b21f0
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x44]
test eax, eax
jne 0x4b2250
jmp 0x4b222c
cmp esi, 1
jne 0x4b220f
cmp byte [edi], 0
je 0x4b224c
push 0
push 0
push 0
push 0
push 0
push edi
call fcn.004dfd90
add esp, 0x18
jmp 0x4b2228
cmp esi, 6
jne 0x4b224c
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x28]
push 1
push edx
push eax
call fcn.004c9a20
add esp, 0xc
test eax, eax
jne 0x4b224c
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], 0x54d7d0
call fcn.004735a0
xor eax, eax
jmp 0x4b2962
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4b23f5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b23f5
mov ecx, 0x59a5c8
call fcn.004e81c0
mov edi, eax
test edi, edi
je 0x4b23ae
mov ecx, dword [edi + 2]
cmp word [edi + ecx + 6], 0xd2
lea eax, [edi + ecx + 6]
jne 0x4b23ae
mov edx, dword [esi]
mov ecx, dword [eax + 6]
add eax, 2
cmp edx, ecx
jne 0x4b23ae
mov ecx, dword [esi + 4]
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x4b23ae
mov edx, dword [esi + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x4b23ae
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jne 0x4b23ae
dec ecx
je 0x4b2306
dec ecx
je 0x4b22f9
dec ecx
jne 0x4b23ae
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, edx
xor ebx, ebx
cmp dword [esi + 0x10], ecx
sete bl
mov ecx, ebx
test ecx, ecx
je 0x4b23aa
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x10], edx
jmp 0x4b2318
mov edx, dword [esi + 0x10]
xor ecx, ecx
cmp edx, dword [eax + 0x14]
sete cl
jmp 0x4b2318
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
add ecx, edx
xor edx, edx
cmp ecx, dword [eax + 0x14]
sete dl
mov ecx, edx
test ecx, ecx
je 0x4b23ae
mov eax, dword [eax + 0x18]
mov ecx, dword [esi + 0x14]
add ecx, eax
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x3c]
call fcn.004733a0
mov ecx, dword [edi + 2]
add edi, 6
push ecx
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.00473c60
mov ecx, 0x59a5c8
call fcn.004e7fc0
push 1
push 1
mov ecx, 0x599b30
call fcn.0048e080
lea edx, [esp + 0x3c]
mov ecx, 0x59a5c8
push edx
call fcn.004e7f20
cmp ebx, 0xd
jne 0x4b2392
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x4b2385
xor eax, eax
jmp 0x4b2388
mov eax, dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov dword [esi + 4], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x3c], 0x54d7d0
call fcn.004735a0
jmp 0x4b23ae
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push 2
push edx
mov ecx, 0x59a5e8
mov dword [esp + 0x74], 0xd2
call fcn.00473c60
lea eax, [esp + 0x6c]
push 4
push eax
mov ecx, 0x59a5e8
mov dword [esp + 0x74], 0x18
call fcn.00473c60
push 0x18
push esi
mov ecx, 0x59a5e8
call fcn.00473c60
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
cmp ebx, 0xd
jne 0x4b246b
mov esi, dword [edx + 0x64]
mov eax, dword [edx + 0x64]
lea edi, [edx + 0x64]
shr esi, 2
test eax, eax
jne 0x4b240e
xor eax, eax
jmp 0x4b2411
mov eax, dword [edx + 0x5c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4b2442
mov ecx, dword [esp + 0x64]
push 0
push 0
push 0
push 0
push 0
push 1
push ecx
push eax
push edx
mov edx, dword [esp + 0x38]
push edx
call fcn.004afa80
add esp, 0x28
jmp 0x4b2451
mov ecx, dword [esp + 0x64]
push ecx
push eax
push edx
call fcn.004adb90
add esp, 0xc
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4b2944
mov edx, dword [edi]
shr edx, 2
sub edx, esi
mov dword [eax], edx
jmp 0x4b2944
cmp ebp, 0x1a6
jne 0x4b2485
mov eax, dword [esp + 0x14]
push 1
push edi
push eax
call fcn.004edac0
jmp 0x4b2916
cmp ebp, 0x1da
jg 0x4b2547
je 0x4b2582
cmp ebp, 0x105
jg 0x4b24c6
je 0x4b2574
mov eax, ebp
sub eax, 0x33
je 0x4b2574
sub eax, 0x35
je 0x4b2582
sub eax, 0x66
jne 0x4b24dd
lea eax, [edx + 0x10]
jmp 0x4b25b5
mov eax, ebp
sub eax, 0x139
je 0x4b2542
sub eax, 0x36
je 0x4b2526
sub eax, 0x36
je 0x4b2582
cmp ebp, 0x1dc
jg 0x4b2643
je 0x4b266c
cmp ebp, 0x106
jg 0x4b25e4
je 0x4b266c
mov eax, ebp
sub eax, 0x35
je 0x4b266c
sub eax, 0x66
je 0x4b266c
sub eax, 0x37
jne 0x4b25f7
lea eax, [edx + 0x10]
jmp 0x4b269f
mov ecx, 0x599b30
call fcn.00458090
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov eax, dword [ecx + 0x5c]
add eax, 0x1d0
jmp 0x4b25b5
lea eax, [edx + 0xc]
jmp 0x4b25b5
cmp ebp, 0x2ae
jg 0x4b259b
je 0x4b2574
mov eax, ebp
sub eax, 0x20f
je 0x4b2582
sub eax, 0x35
je 0x4b2574
sub eax, 0x34
jne 0x4b24dd
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x54]
add eax, 0xc
jmp 0x4b25b5
mov ecx, 0x599b30
call fcn.00458090
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
push ecx
push eax
push edx
push ebp
call fcn.004e8b10
add esp, 0x10
jmp 0x4b2919
mov eax, ebp
sub eax, 0x2e3
je 0x4b25b2
sub eax, 0x38
jne 0x4b24dd
lea eax, [edx + 0x14]
jmp 0x4b25b5
lea eax, [edx + 0x34]
test eax, eax
je 0x4b291d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b291d
mov edx, dword [esp + 0x68]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebp
call fcn.004e8f40
jmp 0x4b2919
mov eax, ebp
sub eax, 0x13c
je 0x4b263e
sub eax, 0x36
je 0x4b2630
sub eax, 0x35
je 0x4b266c
cmp ebp, 0x27a
jg 0x4b26df
je 0x4b26d3
mov eax, ebp
sub eax, 0x13b
je 0x4b26ce
sub eax, 0x36
jne 0x4b270c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x5c]
add eax, 0x1d0
jmp 0x4b26ea
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x5c]
add eax, 0x1d0
jmp 0x4b269f
lea eax, [edx + 0xc]
jmp 0x4b269f
cmp ebp, 0x2b0
jg 0x4b2685
je 0x4b266c
mov eax, ebp
sub eax, 0x211
je 0x4b266c
sub eax, 0x34
je 0x4b266c
sub eax, 0x36
jne 0x4b25f7
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x54]
add eax, 0xc
jmp 0x4b269f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebp
call fcn.004e8b10
add esp, 0x10
jmp 0x4b2919
mov eax, ebp
sub eax, 0x2e8
je 0x4b269c
sub eax, 0x37
jne 0x4b25f7
lea eax, [edx + 0x14]
jmp 0x4b269f
lea eax, [edx + 0x34]
test eax, eax
je 0x4b291d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b291d
mov edx, dword [esp + 0x68]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebp
call fcn.004e90e0
jmp 0x4b2919
lea eax, [edx + 0xc]
jmp 0x4b26ea
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x54]
add eax, 0xc
jmp 0x4b26ea
cmp ebp, 0x31e
jne 0x4b270c
lea eax, [edx + 0x14]
test eax, eax
je 0x4b270c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004e9280
jmp 0x4b2919
xor edi, edi
cmp ebp, 0x279
jg 0x4b27ae
je 0x4b27a2
cmp ebp, 0x13a
jg 0x4b2787
je 0x4b2782
cmp ebp, 0x34
je 0x4b27da
cmp ebp, 0xcf
jne 0x4b288a
lea edi, [edx + 0x10]
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
mov ecx, edi
call fcn.004d2760
test eax, eax
je 0x4b27ff
test byte [eax + 4], 0x80
je 0x4b27ff
mov eax, dword [eax]
test eax, eax
je 0x4b27ff
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004e9950
jmp 0x4b2919
lea edi, [edx + 0xc]
jmp 0x4b2742
cmp ebp, 0x170
jne 0x4b288a
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x5c]
add edi, 0x1d0
jmp 0x4b2742
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x54]
add edi, 0xc
jmp 0x4b2742
mov eax, ebp
sub eax, 0x2af
je 0x4b27d5
sub eax, 0x35
je 0x4b27cd
sub eax, 0x38
jne 0x4b288a
lea edi, [edx + 0x14]
jmp 0x4b2742
lea edi, [edx + 0x34]
jmp 0x4b2742
cmp ebp, 0x34
jne 0x4b27e5
test byte [edx + 8], 1
je 0x4b27ff
mov eax, dword [edx + 0xc]
jmp 0x4b2766
cmp ebp, 0x2af
jne 0x4b2742
test byte [edx + 0xc], 0x40
je 0x4b27ff
mov eax, dword [edx + 0x10]
jmp 0x4b2766
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x5c]
cmp dword [eax + 0x17c], 0xffffff
jne 0x4b281c
mov dword [eax + 0x17c], 0xffff
mov esi, dword [eax + 0x17c]
mov edx, dword [esp + 0x64]
inc esi
push edx
mov dword [eax + 0x17c], esi
mov ecx, dword [ecx + 0x5c]
mov eax, esi
add ecx, 0x280
or eax, 0x41000000
mov esi, eax
push esi
call fcn.004cf8b0
cmp ebp, 0x34
je 0x4b286f
cmp ebp, 0x2af
je 0x4b286f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 1
push esi
push eax
push ecx
push edi
push ebp
call fcn.004e95c0
add esp, 0x18
jmp 0x4b2919
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
push 1
push esi
push edx
push eax
push ebp
call fcn.004e9390
add esp, 0x14
jmp 0x4b2919
cmp ebp, 0x246
jne 0x4b291d
mov esi, dword [edx + 0x44]
cmp esi, 0xffffffff
je 0x4b28bf
push esi
call fcn.004d25a0
add esp, 4
cmp eax, 0x40000000
je 0x4b28bf
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e9950
jmp 0x4b2919
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x5c]
cmp dword [eax + 0x17c], 0xffffff
jne 0x4b28dc
mov dword [eax + 0x17c], 0xffff
mov edx, dword [eax + 0x17c]
inc edx
mov dword [eax + 0x17c], edx
mov ecx, dword [ecx + 0x5c]
mov eax, edx
mov edx, dword [esp + 0x64]
or eax, 0x9000000
push edx
mov esi, eax
add ecx, 0x280
push esi
call fcn.004cf8b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
push esi
push eax
push ecx
call fcn.004e97c0
add esp, 0xc
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4b2944
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edx
push ebp
mov ecx, dword [ecx + 0x5c]
call fcn.004af660
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], 0x54d7d0
call fcn.004735a0
mov eax, 1
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18