Function at 0x41d020
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x68]
push edi
mov dword [esp + 0x24], eax
mov edi, 0xfffffc18
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
nop dword [eax]
cwde
lea ecx, [eax + eax*2]
mov bl, byte [edx + ecx*4 + 2]
test bl, bl
je 0x41d227
cmp bl, 0xc2
je 0x41d07f
cmp bl, 0xbe
je 0x41d07f
cmp bl, 0xe7
jne 0x41d090
cmp edi, 0xfffffc18
jne 0x41d090
movzx eax, byte [edx + ecx*4 + 7]
mov dword [esp + 0x1c], eax
cmp bl, 0xc
jne 0x41d0fd
movzx eax, byte [edx + ecx*4 + 0xa]
movzx edx, byte [edx + ecx*4 + 9]
mov edi, dword [esp + 0x10]
shl eax, 8
or eax, edx
shl eax, 8
movzx edx, byte [edi + ecx*4 + 8]
or eax, edx
movzx edx, byte [edi + ecx*4 + 7]
shl eax, 8
or eax, edx
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x64]
cmp esi, 3
jne 0x41d103
movzx eax, byte [edi + ecx*4 + 6]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + ecx*4 + 5]
cdq
add esi, eax
mov eax, dword [esp + 0x18]
adc edi, edx
mov edx, dword [esp + 0x10]
mov dword [eax], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 4], edi
jmp 0x41d105
mov esi, dword [esp + 0x64]
jmp 0x41d105
mov edx, edi
cmp bl, 9
jne 0x41d208
movzx eax, byte [edx + ecx*4 + 0xa]
movzx edx, byte [edx + ecx*4 + 9]
mov edi, dword [esp + 0x10]
shl eax, 8
or eax, edx
shl eax, 8
movzx edx, byte [edi + ecx*4 + 8]
or eax, edx
movzx edx, byte [edi + ecx*4 + 7]
shl eax, 8
or eax, edx
cdq
mov dword [ebp], eax
mov dword [ebp + 4], edx
cmp esi, 3
jne 0x41d16b
movzx eax, byte [edi + ecx*4 + 6]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + ecx*4 + 5]
cdq
add esi, eax
mov dword [ebp], esi
adc edi, edx
mov dword [ebp + 4], edi
jmp 0x41d208
mov ebx, dword [esp + 0x68]
cmp ebx, 1
jne 0x41d185
test edx, edx
jne 0x41d18a
cmp eax, 0xda000
jb 0x41d208
jmp 0x41d18a
cmp ebx, 6
jne 0x41d208
movzx eax, byte [edi + ecx*4 + 8]
cdq
mov ebx, eax
movzx eax, byte [edi + ecx*4 + 9]
shld edx, ebx, 8
mov edi, 0x40d40
mov dword [esp + 0x20], edx
cdq
mov esi, eax
shl ebx, 8
mov eax, edx
mul edi
mov edx, 0x40d40
mov edi, eax
mov eax, esi
mov esi, dword [esp + 0x20]
mul edx
add edi, edx
add ebx, eax
mov eax, dword [esp + 0x10]
adc esi, edi
movzx eax, byte [eax + ecx*4 + 7]
cdq
add ebx, eax
mov dword [ebp], ebx
adc esi, edx
mov dword [ebp + 4], esi
jne 0x41d1e1
cmp ebx, 0xda753
jbe 0x41d1f0
add ebx, 0xfff258ad
mov dword [ebp], ebx
adc esi, 0xffffffff
mov dword [ebp + 4], esi
test esi, esi
jg 0x41d208
jl 0x41d1fa
test ebx, ebx
jae 0x41d208
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp ax, 0x2a
jl 0x41d060
cmp edi, 0xfffffc18
je 0x41d260
push 0x30
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0042f620
push edi
push 0x44c7c8
lea eax, [esp + 0x3c]
push 0xffffffffffffffff
push eax
call fcn.0040d4d0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
add esp, 0x1c
push eax
call fcn.00405130
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d960
add esp, 0x4c
ret