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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43bf35
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
lea edi, [ebx + 0x7b0]
push edi
mov dword [esp + 0x48], edi
mov byte [esp + 0x4c], 0
call dword [0x43e1c4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x78], 0
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x7d0]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x417af9
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 3
test eax, eax
je 0x417af9
ja 0x417820
call fcn.0042694c
mov eax, dword [esi + 0xc]
sub esp, 8
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004235d0
mov eax, dword [ebx + 0x7d0]
push eax
call fcn.00420330
mov ecx, dword [ebx + 0x7d0]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x850]
mov edx, dword [edx + 4]
push eax
call edx
mov eax, dword [ebx + 0x7a8]
lea edi, [ebx + 0x798]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
cmp dword [edi + 0xc], eax
jbe 0x41786f
call fcn.0042694c
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x41787c
call fcn.0042694c
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], ecx
cmp esi, edx
je 0x4178a7
mov eax, dword [ecx]
cmp byte [eax + 0x34], 0
jne 0x4178a3
add ecx, 8
cmp ecx, edx
jne 0x417894
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x4178b8
call fcn.0042694c
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x4178c4
cmp eax, dword [esp + 0x3c]
je 0x4178cd
call fcn.0042694c
mov ecx, dword [esp + 0x14]
cmp esi, ecx
je 0x417aa3
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jbe 0x4178e6
call fcn.0042694c
mov ecx, dword [ebx]
push 1
lea ebx, [esp + 0x30]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
call fcn.00410320
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esi + 0xc], eax
jbe 0x417914
call fcn.0042694c
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 1
call fcn.0041cab0
mov byte [esp + 0x78], 2
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417946
cmp esi, dword [esp + 0x4c]
je 0x41794b
call fcn.0042694c
mov ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x20]
je 0x417a0e
push 0x48
call fcn.00426f3f
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x78], 3
test edi, edi
je 0x4179ad
test esi, esi
jne 0x4179a9
call fcn.0042694c
cmp ebx, dword [esi + 0x10]
jb 0x417985
call fcn.0042694c
sub esp, 8
mov eax, ebx
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.004235d0
mov ecx, dword [0x44a46c]
push edi
mov edx, ecx
call fcn.0041e3d0
mov esi, dword [esp + 0x2c]
jmp 0x4179af
mov esi, dword [esi]
jmp 0x41797b
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x80], 2
call fcn.00414300
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [eax + 0x850]
mov edx, dword [edx + 4]
push eax
call edx
lea ebx, [esp + 0x34]
lea edi, [esp + 0x54]
call fcn.0040fa00
test esi, esi
jne 0x417a0a
call fcn.0042694c
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x10]
jb 0x4179fc
call fcn.0042694c
add dword [esp + 0x30], 8
mov edi, dword [esp + 0x24]
jmp 0x417938
mov esi, dword [esi]
jmp 0x4179ee
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
cmp ebx, eax
jbe 0x417a2b
call fcn.0042694c
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
cmp ebx, eax
jbe 0x417a38
call fcn.0042694c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x40]
push esi
push ebx
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
mov ecx, edi
call fcn.004197d0
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 1
call fcn.00418fe0
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x417a9f
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x417a9f
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x417a9f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x7d0]
mov byte [ecx + 0x34], 0
mov esi, dword [ebx + 0x7d4]
xor edi, edi
cmp esi, edi
je 0x417ae2
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x417ae2
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x417ae2
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, ebx
mov dword [ebx + 0x7d4], edi
mov dword [ebx + 0x7d0], edi
call fcn.00413160
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov byte [ebx + 0x896], 0
mov byte [ebx + 0x897], 1
call fcn.0040dbd0
mov eax, dword [ebx + 0xc]
push eax
call dword [0x43e288]
push edi
call dword [0x43e1c0]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or byte [eax], al