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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov eax, dword [ebx + 0x3b00]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x3920]
xor ebp, ebp
xor edi, edi
test eax, eax
jne 0x410cb6
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x410c9e
push 0x1000
call fcn.004df770
add esp, 4
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
test eax, eax
mov dword [esp + 0x20], eax
je 0x410f83
push eax
call fcn.004225e0
add esp, 4
push 0x800
call fcn.004df770
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x410f83
mov ecx, dword [esp + 0x74]
push ecx
push ebx
call fcn.0040df10
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x410f7b
mov edx, eax
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x410f7b
mov eax, dword [esp + 0x14]
mov esi, edi
shl esi, 5
mov edx, dword [eax + 4]
mov al, byte [esi + edx]
add esi, edx
test al, al
je 0x410f7b
cmp al, 0xe5
jne 0x410d1d
inc edi
jmp 0x410f6a
mov word [ebp], 0
mov al, byte [esi + 0xb]
cmp al, 0xf
mov ebx, 1
jne 0x410d67
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
push 0x800
push edi
push ebp
push esi
push ecx
call fcn.0040e350
mov ebx, eax
add esp, 0x14
cmp ebx, 1
jg 0x410d55
inc edi
jmp 0x410f6a
mov eax, dword [esi + 4]
lea edx, [ebx + edi]
shl edx, 5
lea esi, [edx + eax - 0x20]
jmp 0x410e03
test al, 8
je 0x410dd1
cmp al, 0xff
je 0x410dcb
mov ecx, dword [esp + 0x6c]
xor eax, eax
push 0x400
push 0
lea edx, [ecx + 0x185c]
mov ecx, 0x100
mov edi, edx
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov eax, edx
push 0xffffffffffffffff
push edx
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov cx, word [esi + 8]
mov word [eax + 8], cx
mov cl, byte [esi + 0xa]
mov byte [eax + 0xa], cl
call fcn.0042d900
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x24]
add esp, 0x14
inc ecx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
inc edi
jmp 0x410f6a
and eax, 0xff
push eax
push esi
push ebp
call fcn.0040de30
push 0x800
push 0
push ebp
push 0xffffffffffffffff
push ebp
call fcn.0042d900
mov edx, dword [esp + 0x38]
add esp, 0x20
cmp dword [edx], 3
jne 0x410e03
push ebp
call fcn.005277a5
add esp, 4
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x3920]
test ecx, ecx
jne 0x410f68
cmp word [ebp], 0
je 0x410f68
push 0x687ac0
push ebp
call fcn.00527225
add esp, 8
test eax, eax
je 0x410f68
push 0x687ab8
push ebp
call fcn.00527225
add esp, 8
test eax, eax
je 0x410f68
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 3
je 0x410e69
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x410e69
xor eax, eax
mov ax, word [esi + 0x1a]
mov dword [esp + 0x1c], eax
jmp 0x410e7e
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x14]
mov dx, word [esi + 0x1a]
shl eax, 0x10
or eax, edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x74]
push esi
push edx
push ebp
push eax
call fcn.00410fa0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x410f64
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x60]
cmp dword [ecx], 3
je 0x410ed2
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x410ed2
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ebx
lea ecx, [ebx + edx - 1]
xor edx, edx
mov dword [eax + 4], ecx
mov dx, word [esi + 0x1a]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x20]
jmp 0x410ef7
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ebx
lea edx, [ebx + ecx - 1]
xor ecx, ecx
mov dword [eax + 4], edx
mov cx, word [esi + 0x14]
xor edx, edx
mov dx, word [esi + 0x1a]
shl ecx, 0x10
or ecx, edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax], ecx
mov dl, byte [esi + 0xb]
mov byte [eax + 0x14], dl
xor eax, eax
mov al, byte [esi + 0xb]
lea ecx, [esp + 0x28]
push eax
push esi
push ecx
call fcn.0040de30
mov al, byte [esp + 0x34]
add esp, 0xc
test al, al
je 0x410f49
mov edx, dword [edi + 0x3c]
push edx
call fcn.004df7a0
lea eax, [esp + 0x2c]
push eax
call fcn.00537ce1
mov ecx, dword [esp + 0x28]
push edi
push ecx
mov dword [edi + 0x3c], eax
call fcn.00422460
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x410f64
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
call fcn.00410c60
add esp, 0xc
mov edi, dword [esp + 0x10]
add edi, ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
cmp edi, dword [ecx + 0xc]
jl 0x410cfa
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x6c]
push ebp
call fcn.004df7a0
push edi
push ebx
call fcn.0040e0e0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret