Function at 0x45a6af
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xa0
push 0
push esi
call fcn.004ef550
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 9]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0xa
and cl, 0x1f
add cl, 0x40
mov byte [ebp + 0xc], cl
mov ecx, eax
shr ecx, 5
and cl, 0x1f
and al, 0x1f
add cl, 0x40
add al, 0x40
add esp, 0xc
cmp dword [0x51b3d0], 0
mov byte [ebp + 0xd], cl
mov byte [ebp + 0xe], al
mov byte [ebp + 0xf], 0
mov ebx, 0x51b3d0
je 0x45a73d
lea eax, [ebp + 0xc]
push eax
push dword [ebx]
call fcn.004f0170
pop ecx
pop ecx
test eax, eax
je 0x45a729
add ebx, 8
cmp dword [ebx], 0
jne 0x45a70e
jmp 0x45a73d
push dword [ebx + 4]
lea eax, [esi + 0x80]
push 0x20
push eax
call fcn.004ef010
add esp, 0xc
movzx eax, byte [edi + 0xa]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
movzx eax, byte [edi + 0xb]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esi + 0x58]
push str._s_02X_02X
push eax
call ebx
movzx eax, byte [edi + 0x13]
push eax
movzx eax, byte [edi + 0x12]
push eax
lea eax, [esi + 0x50]
push str._X._X
push eax
call ebx
lea ebx, [edi + 0x36]
add esp, 0x24
mov eax, ebx
xor ecx, ecx
cmp byte [eax + 2], 0
jne 0x45a787
cmp byte [eax + 3], 0xfc
je 0x45a792
inc ecx
add eax, 0x12
cmp ecx, 4
jl 0x45a77b
jmp 0x45a7ae
add eax, 5
xor ecx, ecx
mov dl, byte [eax]
cmp dl, 0xa
je 0x45a7a9
mov byte [ecx + esi + 0x60], dl
inc ecx
inc eax
cmp ecx, 0xd
jl 0x45a797
mov byte [ecx + esi + 0x60], 0
cmp byte [edi + 0x13], 2
jb 0x45a7ed
mov ecx, ebx
xor eax, eax
cmp byte [ecx + 2], 0
jne 0x45a7c4
cmp byte [ecx + 3], 0xff
je 0x45a7cf
inc eax
add ecx, 0x12
cmp eax, 4
jl 0x45a7b8
jmp 0x45a813
add ecx, 5
xor eax, eax
mov dl, byte [ecx]
cmp dl, 0xa
je 0x45a7e6
mov byte [eax + esi + 0x70], dl
inc eax
inc ecx
cmp eax, 0xd
jl 0x45a7d4
mov byte [eax + esi + 0x70], 0
jmp 0x45a813
movzx eax, byte [edi + 0xf]
push eax
movzx eax, byte [edi + 0xe]
push eax
movzx eax, byte [edi + 0xd]
push eax
movzx eax, byte [edi + 0xc]
push eax
lea eax, [esi + 0x70]
push 0x51b690
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
movzx eax, byte [edi + 0x10]
mov dword [esi + 0xc], eax
movzx eax, byte [edi + 0x11]
add eax, 0x7c6
mov dword [esi + 0x10], eax
movzx eax, byte [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x15]
mov dword [esi + 0x18], eax
movzx eax, byte [edi + 0x16]
fild dword [esi + 0x18]
push 2
push ecx
mov dword [ebp + 8], eax
mov dword [esi + 0x1c], eax
fstp dword [esp]
call fcn.0045a5a2
pop ecx
pop ecx
fstp dword [ebp - 4]
fild dword [ebp + 8]
push 2
push ecx
fstp dword [esp]
call fcn.0045a5a2
fstp dword [ebp + 8]
add esp, 4
fld dword [ebp + 8]
fadd dword [ebp - 4]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [esp]
call fcn.0045a588
fdiv qword [0x51b688]
pop ecx
fstp dword [esi + 0x48]
movzx eax, byte [edi + 0x17]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fdiv qword [0x544c28]
fadd qword [0x544bf0]
fstp dword [esi + 0x4c]
movzx eax, byte [edi + 0x18]
shr eax, 5
and eax, 1
mov dword [esi], eax
movzx eax, byte [edi + 0x18]
shr eax, 6
and eax, 1
mov dword [esi + 4], eax
movzx eax, byte [edi + 0x18]
shr eax, 7
mov dword [esi + 8], eax
movzx eax, byte [edi + 0x23]
mov dword [esi + 0x40], eax
movzx eax, byte [edi + 0x24]
mov dword [esi + 0x44], eax
mov eax, ebx
xor ecx, ecx
cmp byte [eax + 2], 0
jne 0x45a8dd
cmp byte [eax + 3], 0xfd
je 0x45a8e8
inc ecx
add eax, 0x12
cmp ecx, 4
jl 0x45a8d1
jmp 0x45a90e
movzx ecx, byte [eax + 5]
mov dword [esi + 0x20], ecx
movzx ecx, byte [eax + 6]
mov dword [esi + 0x24], ecx
movzx ecx, byte [eax + 7]
mov dword [esi + 0x28], ecx
movzx ecx, byte [eax + 8]
mov dword [esi + 0x2c], ecx
movzx eax, byte [eax + 9]
imul eax, eax, 0xa
mov dword [esi + 0x3c], eax
test byte [edi + 0x18], 2
je 0x45a9b1
movzx eax, byte [ebx + 4]
movzx edx, byte [ebx + 2]
mov edi, 0xf0
mov ecx, eax
and ecx, edi
shl ecx, 4
or ecx, edx
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx + 7]
mov edx, ecx
and edx, edi
movzx edi, byte [ebx + 5]
shl edx, 4
or edx, edi
movzx edi, byte [ebx]
mov dword [ebp + 8], edx
movzx edx, byte [ebx + 1]
shl edx, 8
or edx, edi
mov edi, dword [ebp + 8]
imul edx, edx, 0x2710
mov dword [ebp + 0xc], edx
movzx edx, byte [ebx + 6]
fild dword [ebp + 0xc]
and ecx, 0xf
shl ecx, 8
or ecx, edx
add ecx, edi
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
test ecx, ecx
jge 0x45a97e
fadd qword [0x544c18]
movzx ecx, byte [ebx + 3]
mov ebx, dword [ebp - 4]
and eax, 0xf
shl eax, 8
or eax, ecx
add eax, ebx
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x45a99f
fadd qword [0x544c18]
fmulp st(1)
fdivp st(1)
call fcn.004efb26
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
pop edi
pop esi
pop ebx
leave
ret 8