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

Disassembly:
sub esp, 0x1c8
push ebx
push ebp
mov ebp, dword [esp + 0x1d4]
mov eax, dword [ebp + 0xc4]
mov ecx, dword [ebp]
mov edx, dword [ebp + 0xb8]
xor ebx, ebx
mov dword [esp + 0x40], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
cmp dword [ebp + 0x58c], ebx
jne 0x41163b
mov eax, dword [ecx + 0xa40]
push ebx
push 0x8000000
push 3
push ebx
push 3
lea edi, [ecx + 0xa34]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x4114f7
mov ecx, dword [edi + 0xc]
push ecx
push str.error:_cannot_open__s
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov edx, dword [edi + 0x10]
lea eax, [esp + 0xa8]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
push eax
mov byte [edx], bl
call fcn.00419c00
add esp, 4
push 0x445c0
call fcn.004b7263
add esp, 4
cmp eax, ebx
jne 0x41153f
push 0x445c0
push 0x5adcd0
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
xor esi, esi
mov ebx, eax
mov dword [esp + 0x18], 0x2710
mov dword [esp + 0x34], esi
nop
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 4]
jne 0x411562
cmp dword [edi + 8], 0
jne 0x411632
mov al, byte [esp + 0xa8]
cmp al, 0x41
je 0x411619
cmp al, 0x52
jne 0x41161d
lea edx, [esp + 0xa8]
push 0x4c
push edx
call fcn.004b8770
add esp, 8
test eax, eax
je 0x41161d
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00412560
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, dword [esp + 0x18]
jne 0x4115e1
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
shr eax, 1
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
push esi
push ebx
mov dword [esp + 0x20], eax
call fcn.004b95e6
add esp, 8
test eax, eax
je 0x4116f6
mov esi, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esi + ebx], edx
mov dword [esi + ebx + 0xc], eax
mov dword [esi + ebx + 4], ecx
lea edx, [esp + 0xa8]
inc eax
add esi, 0x1c
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], esi
call fcn.00419c00
add esp, 4
jmp 0x411550
inc dword [esp + 0x1c]
lea edx, [esp + 0xa8]
push edx
call fcn.00419c00
add esp, 4
jmp 0x411550
mov eax, dword [esp + 0x20]
jmp 0x4116bc
mov esi, dword [ebp + 0x590]
lea edi, [esi*8]
sub edi, esi
add edi, edi
add edi, edi
push edi
call fcn.004b7263
add esp, 4
cmp eax, ebx
jne 0x411670
push edi
push 0x5adcd0
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
xor edx, edx
mov ebx, eax
test esi, esi
je 0x4116ac
mov esi, 0xfffffffc
lea ecx, [eax + 4]
sub esi, eax
mov dword [ecx + 8], edx
mov edi, dword [ebp + 0x598]
lea eax, [esi + ecx]
mov edi, dword [eax + edi]
mov dword [ecx - 4], edi
mov edi, dword [ebp + 0x598]
mov eax, dword [eax + edi + 4]
mov dword [ecx], eax
inc edx
add ecx, 0x1c
cmp edx, dword [ebp + 0x590]
jb 0x411682
mov ecx, dword [ebp + 0x554]
mov eax, dword [ebp + 0x590]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x30]
push ecx
push ebx
push edx
call fcn.00412640
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
push esi
push ebx
mov dword [esp + 0x3c], eax
call fcn.004b95e6
xor edi, edi
add esp, 0x18
mov dword [esp + 0x50], eax
cmp eax, edi
jne 0x41170b
push esi
push 0x5add44
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
push 0x27100
mov dword [esp + 0x60], 0x2710
call fcn.004b7263
add esp, 4
cmp eax, edi
jne 0x41173d
push 0x27100
push 0x5adcd0
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov dword [ebp + 0x55c], eax
cmp dword [ebp + 0x58c], edi
jne 0x4117a7
mov ebx, dword [esp + 0x1c]
lea esi, [ebx + ebx*2]
add esi, esi
add esi, esi
push esi
mov dword [ebp + 0x554], ebx
call fcn.004b7263
add esp, 4
cmp eax, edi
jne 0x41177e
push esi
push 0x5adcd0
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov dword [ebp + 0x558], eax
cmp ebx, edi
jbe 0x4117a7
xor esi, esi
lea ebx, [ebx]
mov eax, dword [ebp + 0x558]
add eax, esi
push eax
call fcn.004565a0
add esp, 4
add esi, 0xc
dec ebx
jne 0x411790
push 0x1000
call fcn.004b7263
add esp, 4
cmp eax, edi
jne 0x4117d1
push 0x1000
push 0x5adcd0
call fcn.004b7f6d
add esp, 8
push 0xffffffffffffffff
call fcn.004b856d
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x64], 0x3e7
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], eax
mov dword [ebp + 0x560], edi
cmp dword [0x5d5f9c], edi
jle 0x411814
mov ecx, dword [esp + 0x24]
push ecx
push str.attempting_to_read__u_relations_n
call fcn.004b7f6d
add esp, 8
cmp dword [ebp + 0x58c], edi
jne 0x411847
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 0xa34]
push edi
push edi
push edi
xor eax, eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [esi + 0xa38], edi
mov dword [esi + 0xa48], edi
mov dword [esi + 0xa3c], edi
jmp 0x41184b
mov dword [esp + 0x28], edi
cmp dword [esp + 0x24], edi
jbe 0x411d25
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
mov eax, 0xfffffff4
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], edi
cmp dword [ebp + 0x58c], 0
jne 0x4118b3
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0xa48]
add edi, 0xa34
cmp eax, dword [edi + 4]
jne 0x41189a
cmp dword [edi + 8], 0
jne 0x411d25
lea ecx, [esp + 0xa8]
push ecx
call fcn.00419c00
mov al, byte [esp + 0xac]
add esp, 4
jmp 0x4118f9
mov edx, dword [esp + 0x28]
cmp edx, dword [ebp + 0x590]
je 0x411d25
mov eax, dword [esp + 0x38]
mov esi, dword [ebp + 0x598]
inc dword [esp + 0x28]
add esi, eax
add eax, 0x1c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
cmp dword [esi + 0xc], eax
mov dword [esp + 0x30], esi
sbb al, al
and al, 0xef
add al, 0x52
mov byte [esp + 0xa8], al
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x64], ecx
cmp al, 0x41
je 0x411c74
cmp al, 0x52
jne 0x411d17
cmp dword [ebp + 0x58c], 0
jne 0x411928
lea edx, [esp + 0xa8]
push 0x4c
push edx
call fcn.004b8770
add esp, 8
test eax, eax
jmp 0x41192b
cmp dword [esi], 0
je 0x411d17
mov eax, dword [esp + 0x24]
inc dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jae 0x411d25
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*4 + 0xc]
mov edx, dword [esp + 0x18]
cmp dword [eax], edx
jae 0x411974
inc ecx
add eax, 0x1c
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x24]
jae 0x411d25
jmp 0x411958
cmp ecx, dword [esp + 0x24]
jae 0x411d25
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
lea ecx, [eax*8]
sub ecx, eax
cmp dword [edi + ecx*4 + 0xc], edx
jne 0x411d17
inc eax
cmp dword [ebp + 0x58c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], ebx
jne 0x411a2d
mov eax, dword [ebp]
mov edx, dword [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x14]
push ecx
push edx
lea eax, [esp + 0xb6]
push eax
mov edi, ebx
mov eax, ebp
call fcn.00410df0
add esp, 0x10
test eax, eax
je 0x411a1e
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x424]
test eax, eax
je 0x4119f9
mov edx, dword [esp + 0x14]
dec edx
push edx
push str.failed_to_read_relation__d_n
push eax
call fcn.00443960
add esp, 0xc
cmp dword [0x5d5f9c], 0
jle 0x411d17
mov eax, dword [esp + 0x14]
dec eax
push eax
push str.failed_to_read_relation__d_n
call fcn.004b7f6d
add esp, 8
jmp 0x411d17
mov ecx, dword [ebp + 0xb8]
mov dword [esp + 0x4c], ecx
jmp 0x411ba5
mov edx, dword [ebp + 0x584]
mov edi, dword [edx + 0x30]
add edi, dword [esi + 0x18]
add edi, edi
add edi, edi
push edi
call fcn.004b7263
add esp, 4
test eax, eax
je 0x41165b
mov dword [ebx + 0x14], eax
xor eax, eax
xor ecx, ecx
xor edi, edi
cmp dword [esi + 0x18], eax
jle 0x411ac0
mov edx, dword [ebp + 0x584]
cmp ecx, dword [edx + 0x30]
jge 0x411ac0
mov edx, dword [edx + 0x24]
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x14]
mov edx, dword [edx + edi*4]
cmp edx, dword [esp + 0x54]
jae 0x411a87
mov esi, dword [ebx + 0x14]
mov dword [esi + eax*4], edx
inc eax
inc edi
jmp 0x411ab7
mov esi, dword [esp + 0x54]
cmp edx, esi
jbe 0x411a99
mov edx, dword [ebx + 0x14]
mov dword [edx + eax*4], esi
inc eax
inc ecx
jmp 0x411ab7
mov esi, dword [ebx + 0x14]
mov dword [esi + eax*4], edx
mov edx, dword [ebp + 0x584]
mov edx, dword [edx + 0x24]
mov edx, dword [edx + ecx*4]
mov esi, dword [ebx + 0x14]
inc edi
mov dword [esi + eax*4 + 4], edx
inc ecx
add eax, 2
mov esi, dword [esp + 0x30]
cmp edi, dword [esi + 0x18]
jl 0x411a5c
cmp edi, dword [esi + 0x18]
jge 0x411af2
mov dword [esp + 0x54], edi
add edi, edi
add edi, edi
lea ecx, [ecx]
mov edx, dword [esi + 0x14]
mov edx, dword [edi + edx]
mov esi, dword [ebx + 0x14]
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
inc edx
inc eax
add edi, 4
mov dword [esp + 0x54], edx
cmp edx, dword [esi + 0x18]
jl 0x411ad0
mov edx, dword [ebp + 0x584]
cmp ecx, dword [edx + 0x30]
jge 0x411b22
add eax, eax
add eax, eax
mov edx, dword [ebp + 0x584]
mov edx, dword [edx + 0x24]
mov edx, dword [edx + ecx*4]
mov edi, dword [ebx + 0x14]
mov dword [eax + edi], edx
mov edx, dword [ebp + 0x584]
inc ecx
add eax, 4
cmp ecx, dword [edx + 0x30]
jl 0x411b01
mov eax, dword [ebp + 0x584]
mov ecx, dword [eax + 0x30]
add ecx, dword [esi + 0x18]
mov dword [ebx + 0x18], ecx
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov esi, dword [esi + 0xc]
mov dword [ebx + 0xc], esi
mov ecx, dword [ebp + 0x2c]
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x574]
push ecx
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
push ecx
invalid
xchg ebp, eax
invalid