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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e048
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x438660]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
cmp eax, ecx
je 0x413d70
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
je 0x413d69
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x413d69
mov dword [ecx], 0
mov eax, dword [eax]
cmp eax, dword [edi + 4]
jne 0x413d54
mov ecx, edi
call fcn.00413970
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00416ea0
mov dword [esp + 0x80], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, ecx
jne 0x413efa
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x413ff6
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x18]
add ebx, 8
push edx
mov eax, edi
mov dword [esp + 0x20], ebx
call fcn.00416c90
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jne 0x413e3c
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [edi + 4]
mov ebx, dword [edx]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
push eax
push ebx
lea esi, [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
call fcn.004188f0
mov ecx, dword [edi + 8]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x413fac
inc ecx
mov dword [edi + 8], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
add eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004184a0
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0041b3d9
add esp, 4
lea edx, [esp + 0x24]
push edx
push edi
mov eax, ebx
call fcn.00416d70
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, eax
cmp eax, edx
je 0x413e69
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x413e63
mov ecx, dword [edi + 4]
cmp eax, dword [ecx]
jne 0x413fb6
cmp edx, ecx
jne 0x413fb6
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], ecx
mov dword [edi + 8], 0
cmp eax, dword [edi + 4]
je 0x413ea4
mov esi, dword [eax]
push eax
call fcn.0041b3d9
add esp, 4
mov eax, esi
cmp esi, dword [edi + 4]
jne 0x413e92
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
lea edx, [edi + 0x10]
mov dword [esp + 0x1c], eax
cmp esi, ecx
je 0x413ed1
mov eax, ecx
cmp ecx, ecx
je 0x413ece
mov edi, edi
mov ebx, dword [eax]
mov dword [esi], ebx
add eax, 4
add esi, 4
cmp eax, ecx
jne 0x413ec0
mov dword [edx + 4], esi
mov eax, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x10
call fcn.00417d10
mov dword [edi + 0x20], 7
mov dword [edi + 0x24], 8
jmp 0x413fe0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
lea esi, [eax + 8]
jne 0x413f47
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx]
mov eax, dword [ebx + 4]
push eax
push ebx
call fcn.004179a0
mov ecx, 0x1ffffffe
sub ecx, dword [esp + 0x50]
cmp ecx, 1
jb 0x413fac
inc dword [esp + 0x50]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
push eax
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x54]
push edx
jmp 0x413f8f
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x413f98
cmp dword [ecx], 0
jne 0x413f98
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax]
mov ecx, dword [ebx + 4]
push ecx
push ebx
call fcn.004179a0
mov edx, 0x1ffffffe
sub edx, dword [esp + 0x50]
cmp edx, 1
jb 0x413fac
inc dword [esp + 0x50]
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00416f90
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 4]
jne 0x413ef6
jmp 0x413da2
push str.list_T__too_long
call fcn.0041a464
cmp eax, edx
je 0x413fe0
jmp 0x413fc4
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ebx, [esp + 0x24]
mov esi, edi
mov dword [esp + 0x20], edx
call fcn.00417560
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
jne 0x413fc0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
cmp eax, ecx
jne 0x413db4
mov eax, dword [esp + 0x58]
xor esi, esi
cmp eax, esi
je 0x41400d
push eax
call fcn.0041b3d9
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], esi
cmp eax, ecx
je 0x414045
mov esi, dword [eax]
push eax
call fcn.0041b3d9
mov ecx, dword [esp + 0x50]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x414030
push ecx
call fcn.0041b3d9
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret