Function at 0x41a940
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x84]
mov eax, ebp
sub eax, ebx
sar eax, 4
cdq
push esi
push edi
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x90]
sar edi, 1
push eax
lea ecx, [ebp - 0x10]
shl edi, 4
push ecx
add edi, ebx
push edi
mov ecx, ebx
call fcn.0041ad00
add esp, 0xc
cmp ebx, edi
mov eax, edi
lea esi, [edi + 0x10]
jae 0x41a99b
movzx ecx, word [eax - 0xa]
movzx edx, word [eax + 6]
cmp dx, cx
jg 0x41a99b
jl 0x41a99b
sub eax, 0x10
cmp ebx, eax
jb 0x41a985
cmp esi, ebp
jae 0x41a9b5
movzx edx, word [eax + 6]
movzx ecx, word [esi + 6]
cmp dx, cx
jg 0x41a9b5
jl 0x41a9b5
add esi, 0x10
cmp esi, ebp
jb 0x41a9a3
mov ecx, esi
mov edi, eax
lea esp, [esp]
cmp ecx, dword [esp + 0x8c]
jae 0x41aa34
lea esp, [esp]
movzx edx, word [ecx + 6]
movzx ebx, word [eax + 6]
cmp dx, bx
jg 0x41aa28
jl 0x41aa34
mov edx, esi
mov ebp, dword [edx + 4]
mov ebx, dword [edx]
mov dword [esp + 0x24], ebp
mov ebp, dword [edx + 8]
mov dword [esp + 0x28], ebp
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ecx]
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [edx + 8], ebp
mov ebp, dword [ecx + 0xc]
mov dword [edx + 0xc], ebp
mov edx, dword [esp + 0x24]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x2c]
add esi, 0x10
mov dword [ecx + 0xc], edx
add ecx, 0x10
cmp ecx, dword [esp + 0x8c]
jb 0x41a9d0
cmp edi, dword [esp + 0x88]
jbe 0x41aaad
lea edx, [edi - 0x10]
movzx ebx, word [edx + 6]
movzx ebp, word [eax + 6]
cmp bp, bx
jg 0x41aa97
jl 0x41aaa6
mov ebp, dword [eax - 0xc]
mov ebx, dword [eax - 0x10]
sub eax, 0x10
mov dword [esp + 0x34], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x38], ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x3c], ebp
mov ebp, dword [edx]
mov dword [eax], ebp
mov ebp, dword [edx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [edx + 8]
mov dword [eax + 8], ebp
mov ebp, dword [edx + 0xc]
mov dword [eax + 0xc], ebp
mov dword [edx], ebx
mov ebx, dword [esp + 0x34]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 0xc], ebx
sub edi, 0x10
sub edx, 0x10
cmp dword [esp + 0x88], edi
jb 0x41aa40
cmp edi, dword [esp + 0x88]
jne 0x41ab5e
cmp ecx, dword [esp + 0x8c]
je 0x41ac39
cmp esi, ecx
je 0x41ab00
mov ebp, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x48], ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esi]
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov dword [eax + 8], ebp
mov ebp, dword [esi + 0xc]
mov dword [eax + 0xc], ebp
mov dword [esi], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xc], edx
mov ebx, eax
mov ebp, dword [ebx]
mov dword [esp + 0x10], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x14], ebp
mov ebp, dword [ebx + 8]
mov edx, ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebp
mov ebp, dword [edx]
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ebx + 8], ebp
mov ebp, dword [edx + 0xc]
mov dword [ebx + 0xc], ebp
mov ebx, dword [esp + 0x10]
mov dword [edx], ebx
mov ebx, dword [esp + 0x14]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x1c]
add esi, 0x10
add eax, 0x10
add ecx, 0x10
mov dword [edx + 0xc], ebx
jmp 0x41a9c0
sub edi, 0x10
cmp ecx, dword [esp + 0x8c]
jne 0x41abf5
sub eax, 0x10
cmp edi, eax
je 0x41abb1
mov ebp, dword [edi + 8]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0x58], ebp
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x5c], ebp
mov ebp, dword [eax]
mov dword [edi], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov ebp, dword [eax + 8]
mov dword [edi + 8], ebp
mov ebp, dword [eax + 0xc]
mov dword [edi + 0xc], ebp
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov ebp, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
sub esi, 0x10
mov dword [esp + 0x68], ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esi]
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov dword [eax + 8], ebp
mov ebp, dword [esi + 0xc]
mov dword [eax + 0xc], ebp
mov dword [esi], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xc], edx
jmp 0x41a9c0
mov ebp, dword [ecx + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x78], ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x7c], ebp
mov ebp, dword [edi]
mov dword [ecx], ebp
mov ebp, dword [edi + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [edi + 8]
mov dword [ecx + 8], ebp
mov ebp, dword [edi + 0xc]
mov dword [ecx + 0xc], ebp
mov dword [edi], edx
mov edx, dword [esp + 0x78]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [edi + 0xc], edx
add ecx, 0x10
jmp 0x41a9c0
mov ecx, dword [esp + 0x84]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x70
ret