Function at 0x414940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x78], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esi + 0x7c], edx
push edi
lea edi, [esi + 0x24]
push ebp
mov ecx, edi
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 4], eax
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
call fcn.0040e050
lea ebx, [esi + 0x34]
push ebp
mov ecx, ebx
mov dword [edi + 8], ebp
call fcn.0040e050
mov dword [ebx + 8], ebp
lea ebx, [esi + 0x44]
push ebp
mov ecx, ebx
call fcn.0040e050
mov dword [ebx + 8], ebp
lea ebx, [esi + 0x54]
push ebp
mov ecx, ebx
call fcn.0040e050
mov dword [ebx + 8], ebp
lea ebx, [esi + 0x64]
push ebp
mov ecx, ebx
call fcn.0040e050
mov dword [ebx + 8], ebp
lea ebx, [ebp + 3]
mov ecx, esi
call fcn.004113a0
sub ebx, 1
jne 0x4149c6
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00413bc0
push ebp
push ebp
mov ecx, edi
mov dword [esi], eax
call fcn.0040df40
mov edx, dword [esi + 0x28]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x2c]
add edx, dword [esi + 0x4c]
push ebp
mov dword [esi + 0x10], ecx
push edx
mov ecx, edi
call fcn.0040df40
cmp dword [esi + 0x4c], ebp
jle 0x414a64
lea ebx, [ebx]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebp*4]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx]
mov ebx, dword [ecx + 8]
mov ecx, dword [esi + 0x10]
lea eax, [eax + ebp*4]
lea edx, [ecx + 1]
mov dword [esi + 0x10], edx
mov edx, dword [esi + 0x28]
mov eax, dword [eax]
mov dword [edx + ecx*4], eax
cmp dword [edi + 4], 0
jg 0x414a5e
lea ecx, [edi + 0xc]
push ecx
mov ecx, esi
call fcn.00411330
test eax, eax
jl 0x414a4f
mov dword [edi + 4], eax
mov dword [ebx + 4], eax
jmp 0x414a5e
inc dword [esi + 8]
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov edx, dword [esi + 8]
mov dword [ebx + 4], edx
inc ebp
cmp ebp, dword [esi + 0x4c]
jl 0x414a10
mov edx, 1
cmp dword [esi + 0x10], edx
jle 0x414a8f
mov eax, dword [esi + 0x28]
add eax, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, dword [esi + 8]
jle 0x414a86
mov dword [esi + 8], ecx
inc edx
add eax, 4
cmp edx, dword [esi + 0x10]
jl 0x414a74
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
mov dword [esp + 0x18], ebx
jle 0x414b1c
mov edi, edi
mov edx, dword [esi + 0x38]
mov eax, dword [edx + ebx*4]
cmp dword [eax + 8], 0xfffffffd
lea edi, [edx + ebx*4]
jne 0x414ac1
mov ecx, eax
add ecx, 0xc
push ecx
mov ecx, esi
call fcn.00411330
mov edx, dword [edi]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x38]
mov edi, dword [eax + ebx*4]
mov edx, dword [edi + 8]
test edx, edx
jl 0x414b12
cmp edx, dword [esi + 8]
jg 0x414b12
test edx, edx
jne 0x414ade
mov ecx, dword [esi]
mov dword [edi + 4], ecx
jmp 0x414b12
mov eax, 1
cmp dword [esi + 0x2c], eax
jle 0x414b12
mov ebx, dword [esi + 0x28]
lea ecx, [ebx + 4]
mov edi, edi
mov ebp, dword [ecx]
mov ebp, dword [ebp + 8]
mov ebp, dword [ebp]
cmp edx, dword [ebp + 4]
je 0x414b08
inc eax
add ecx, 4
cmp eax, dword [esi + 0x2c]
jl 0x414af0
jmp 0x414b0e
mov edx, dword [ebx + eax*4]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, dword [esi + 0x3c]
mov dword [esp + 0x18], ebx
jl 0x414aa0
xor edi, edi
cmp dword [esi + 0x5c], edi
jle 0x414b42
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + edi*4]
lea ebx, [eax + edi*4]
add ecx, 0x10
push ecx
mov ecx, esi
call fcn.00411330
mov edx, dword [ebx]
inc edi
mov dword [edx + 4], eax
cmp edi, dword [esi + 0x5c]
jl 0x414b23
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
jle 0x414b89
lea esp, [esp]
mov eax, dword [esi + 0x68]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
add eax, 8
push eax
mov ecx, esi
call fcn.00411330
test eax, eax
jl 0x414b83
mov ecx, dword [esi + 0x68]
mov edx, dword [edi + ecx]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [edi + eax]
mov dword [ecx + 0x18], 0
inc ebx
cmp ebx, dword [esi + 0x6c]
jl 0x414b50
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 8