Function at 0x492460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00502fa0
push 0xffffffffffffffff
push 0x51ff88
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x1010]
mov ecx, ebx
mov esi, dword [ebp + 0x1014]
mov dword [ebp - 0x20], ebx
call fcn.00472be0
push 0
mov ecx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov byte [ebp - 0xd], 0
call fcn.004598a0
test al, al
je 0x492522
mov al, byte [ebx + 0x7e5d]
mov byte [esi + 0x7e5d], al
mov al, byte [ebx + 0x7e5c]
mov byte [esi + 0x7e5c], al
mov al, byte [ebx + 0x7e5f]
mov byte [esi + 0x7e5f], al
mov al, byte [ebx + 0x7e63]
mov byte [esi + 0x7e63], al
mov al, byte [ebx + 0x7e64]
mov byte [esi + 0x7e64], al
mov al, byte [ebx + 0x7e61]
mov byte [esi + 0x7e61], al
mov al, byte [ebx + 0x7e62]
mov byte [ebp - 0xd], 1
mov byte [esi + 0x7e62], al
xor eax, eax
mov dword [esi + 0x33c8], 0
push eax
push eax
push eax
push eax
mov ecx, esi
mov word [esi + 0x33c4], ax
call fcn.0045c370
push 0
push 0
push 0
push 1
mov ecx, esi
call fcn.0045c370
mov ecx, dword [ebx + 0x7e48]
mov eax, dword [ebx + 0x7e4c]
add ecx, 0xd
mov edi, dword [ebx]
push 0
adc eax, 0
push eax
mov edi, dword [edi + 0x10]
push ecx
mov ecx, edi
call dword [0x523720]
mov ecx, ebx
call edi
mov eax, dword [esi + 0x33bc]
mov ecx, ebx
push 0
sub eax, 0xd
push eax
push esi
call fcn.004727e0
mov eax, dword [ebx]
push 0
push 0
push 0
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x523720]
mov ecx, ebx
call edi
push 0x10000
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x50], 0
call fcn.00404d60
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x60]
mov edi, dword [eax + 0xc]
mov ecx, edi
mov dword [ebp - 0x30], 0
call dword [0x523720]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x5c]
xor edi, edi
add eax, 0xfffff000
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x24], eax
lea edi, [esi + 0x3428]
mov dword [ebp - 0x3c], eax
mov ecx, edi
xor eax, eax
mov dword [ebp - 0x40], 0
push eax
xor ebx, ebx
mov dword [ebp - 0x44], eax
call fcn.00477dd0
sub dword [ebp - 0x38], 0x20
mov eax, dword [ebp - 0x24]
sbb dword [ebp - 0x34], ebx
jmp 0x492638
mov ebx, dword [ebp - 0x4c]
inc ebx
mov dword [ebp - 0x4c], ebx
test ebx, 0xfffff
jne 0x49264c
call fcn.0049dc00
mov eax, dword [ebp - 0x24]
push 0
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.00503210
mov ebx, eax
add ebx, dword [ebp - 0x60]
movzx ecx, byte [ebx + 2]
mov dword [esi + 0x342c], ecx
movzx edx, byte [ebx + 6]
movzx ecx, byte [ebx + 5]
shl edx, 8
add edx, ecx
mov dword [esi + 0x3434], edx
movzx ecx, byte [ebx + 0x1b]
movzx eax, byte [ebx + 0x1a]
shl ecx, 8
add eax, ecx
cmp dword [esi + 0x342c], 0x74
mov dword [ebp - 0x28], eax
jne 0x492b20
cmp edx, 0x1000
jae 0x492b20
dec eax
cmp eax, 0x7fe
ja 0x492b20
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
mov dword [edi], ecx
movzx ecx, byte [ebx + 4]
movzx eax, byte [ebx + 3]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x3430], ecx
movzx ecx, byte [ebx + 0xa]
movzx eax, byte [ebx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 7]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x343c], ecx
mov al, byte [ebx + 0xe]
mov byte [ebp - 0xe], al
mov al, byte [ebx + 0xd]
mov byte [ebp - 0xf], al
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x10], al
mov al, byte [ebx + 0xb]
mov byte [ebp - 0x11], al
mov al, byte [ebx + 0xf]
mov byte [esi + 0x3440], al
mov dword [esi + 0x4498], 2
movzx ecx, byte [ebx + 0x13]
movzx eax, byte [ebx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x10]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x449c], ecx
movzx ecx, byte [ebx + 0x17]
movzx eax, byte [ebx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 0x14]
shl ecx, 8
add ecx, eax
push ecx
lea ecx, [esi + 0x4468]
call fcn.0049e570
movzx eax, byte [ebx + 0x18]
xor edi, edi
mov dword [esi + 0x3444], eax
mov al, byte [ebx + 0x19]
mov byte [esi + 0x3448], al
movzx ecx, byte [ebx + 0x1f]
movzx eax, byte [ebx + 0x1e]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [ebx + 0x1d]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [ebx + 0x1c]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x64], edi
test dword [esi + 0x3430], 0x100
mov dword [esi + 0x344c], ecx
je 0x49284d
movzx eax, byte [ebx + 0x23]
cdq
mov edi, eax
mov ecx, edx
movzx eax, byte [ebx + 0x22]
shld ecx, edi, 8
cdq
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x21]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x20]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x27]
adc ecx, edx
cdq
mov dword [ebp - 0x18], ecx
mov ecx, edx
shld ecx, eax, 8
shl eax, 8
mov dword [ebp - 0x18], eax
movzx eax, byte [ebx + 0x26]
cdq
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
adc ecx, edx
shld ecx, eax, 8
shl eax, 8
mov dword [ebp - 0x18], eax
movzx eax, byte [ebx + 0x25]
cdq
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
adc ecx, edx
shld ecx, eax, 8
shl eax, 8
mov dword [ebp - 0x18], eax
movzx eax, byte [ebx + 0x24]
cdq
add dword [ebp - 0x18], eax
adc ecx, edx
mov dword [ebp - 0x64], ecx
xor eax, eax
add eax, dword [esi + 0x343c]
mov dword [esi + 0x4480], eax
movzx eax, byte [ebp - 0xe]
adc edi, 0
mov dword [esi + 0x4484], edi
cdq
mov ecx, eax
mov edi, edx
movzx eax, byte [ebp - 0xf]
shld edi, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x10]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x11]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, 0
adc edi, dword [ebp - 0x18]
add ecx, eax
mov dword [esi + 0x4488], ecx
adc edi, edx
mov dword [esi + 0x448c], edi
mov edi, dword [ebp - 0x28]
push edi
push 0
push esi
call fcn.0048f070
add eax, ebx
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.00504fb0
add esp, 0xc
test dword [esi + 0x3430], 0x200
je 0x492929
lea ecx, [ebp - 0x7c]
call fcn.0046d3d0
lea ecx, [ebp + 0x800]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4928f0
push 0x800
lea edi, [esi + 0x3450]
sub ecx, edx
push edi
mov edi, dword [ebp - 0x28]
mov eax, edi
sub eax, ecx
dec eax
push eax
lea eax, [ebp + 0x801]
add eax, ecx
push eax
push ecx
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0046d3f0
jmp 0x492932
xor eax, eax
mov word [esi + 0x3450], ax
mov edx, dword [esi + 0x3430]
test edx, 0x400
je 0x49295d
push 0
push esi
call fcn.0048f070
add eax, edi
mov ecx, dword [eax + ebx]
mov dword [esi + 0x44c9], ecx
mov eax, dword [eax + ebx + 4]
mov dword [esi + 0x44cd], eax
mov eax, dword [esi + 0x3434]
sub eax, 2
test eax, eax
jle 0x492b1a
test dl, 8
je 0x492980
push 1
push esi
call fcn.0048f070
add eax, 0xfffffffe
add eax, edi
push eax
lea eax, [ebx + 2]
push eax
push 0xffffffffffffffff
call fcn.00468fb0
mov edx, dword [ebp + 0x100c]
not eax
movzx eax, ax
push eax
push esi
push edx
call fcn.004944f0
mov ebx, dword [ebp - 0x20]
test al, al
je 0x492ba3
mov ecx, dword [esi + 0x3434]
xor eax, eax
add ecx, dword [ebp - 0x2c]
mov edi, dword [ebx]
adc eax, dword [ebp - 0x30]
push 0
push eax
mov edi, dword [edi + 0x10]
push ecx
mov ecx, edi
call dword [0x523720]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x28]
mov byte [ebp + eax + 0x800], 0
call fcn.0049dc00
cmp word [esi + 0x3450], 0
lea edi, [esi + 0x3450]
jne 0x492a1f
push 1
lea eax, [ebp + 0x800]
push eax
call fcn.00484ec0
push 0x800
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.0049c9f0
push 0x800
push edi
lea eax, [ebp]
push eax
call fcn.0049ff80
mov eax, dword [esi + 0x3430]
push 1
and eax, 0xffffefff
or dword [ebp - 0x44], eax
push esi
call fcn.0048f070
add eax, dword [ebp - 0x28]
push edi
push 0x6e
mov dword [esi + 0x3434], eax
call fcn.00451e30
mov edx, dword [esi + 0x3430]
lea edi, [esi + 0x3428]
mov eax, edx
inc dword [ebp - 0x48]
shr eax, 0xe
and al, 1
mov byte [edi + 0x10], al
mov al, dl
and al, 1
mov byte [edi + 0x1098], al
mov eax, edx
shr eax, 1
and al, 1
mov byte [edi + 0x1099], al
mov eax, edx
shr eax, 2
and al, 1
mov byte [edi + 0x109b], al
mov eax, edx
shr eax, 0xa
and al, 1
mov byte [edi + 0x10a0], al
mov eax, edx
shr eax, 4
and al, 1
mov byte [edi + 0x10f0], al
mov eax, edx
and eax, 0xe0
cmp al, 0xe0
sete al
mov byte [edi + 0x10f1], al
test al, al
je 0x492ab6
xor eax, eax
jmp 0x492ac5
mov ecx, edx
mov eax, 0x10000
shr ecx, 5
and ecx, 7
shl eax, cl
add byte [edi + 0x20], 0xd0
mov ecx, esi
mov dword [edi + 0x10f4], eax
mov eax, edx
shr eax, 3
and al, 1
mov byte [edi + 0x10f2], al
mov eax, edx
push 0
push 0
shr eax, 0xb
shr edx, 8
and al, 1
push 0
and dl, 1
mov byte [edi + 0x10f3], al
push 2
mov byte [edi + 0x10f9], dl
call fcn.0045c370
push dword [esi + 0x4484]
mov ecx, ebx
push dword [esi + 0x4480]
push esi
call fcn.004727e0
jmp 0x492b23
lea edi, [esi + 0x3428]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x100c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x2c], eax
adc ecx, 0
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x34]
jg 0x492bae
jl 0x492b47
cmp eax, dword [ebp - 0x38]
jae 0x492bae
push 0
push dword [ebp - 0x24]
push ecx
push eax
call fcn.00503210
or eax, edx
mov eax, dword [ebp - 0x24]
jne 0x492635
mov edi, dword [ebx]
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
mov edi, dword [edi + 0x10]
mov ecx, edi
call dword [0x523720]
mov ecx, ebx
call edi
mov eax, dword [ebx]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x523720]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x24]
lea edi, [esi + 0x3428]
add dword [ebp - 0x3c], eax
adc dword [ebp - 0x40], 0
jmp 0x492635
lea edi, [esi + 0x3428]
jmp 0x492b29
mov eax, dword [ebp - 0x44]
test al, 3
je 0x492bbc
mov byte [esi + 0x7e5d], 1
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x492be6
cmp byte [ebp - 0xd], 0
jne 0x492be2
cmp byte [edx + 0x6188], 0
jne 0x492be2
call fcn.0049fe60
test al, al
je 0x492be2
mov byte [esi + 0x7e5c], 1
test edi, edi
jne 0x492bff
lea eax, [ebx + 0x1e]
push eax
push 0x41
call fcn.00451e30
push 0xa
mov ecx, 0x58c304
call fcn.0046dd90
jmp 0x492c45
mov eax, dword [esi]
push 0
push 0
push 0
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x523720]
mov ecx, esi
call edi
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0045c370
push 0
push 0
push 0
push 1
mov ecx, esi
call fcn.0045c370
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x523720]
mov ecx, esi
call edi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x492c6b
cmp byte [ebp - 0x50], 0
je 0x492c62
push dword [ebp - 0x58]
push ebx
call fcn.0049a3e0
push ebx
call fcn.005097b2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00502f8e
lea esp, [ebp + 0x1004]
pop ebp
ret 0xc