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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ecx + 0x3a0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
cmp eax, 0xffffffff
je 0x4183a5
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4183a5
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x4183a5
jmp 0x417ee0
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebp + 0x48]
mov edi, dword [ebp + 0x30]
lea edx, [esp + 0x10]
add ebp, 0x30
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x417f0a
cmp eax, edi
je 0x417f0f
call fcn.00451172
cmp dword [esi + 4], ebx
je 0x417f5e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x417f38
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x417f3c
mov eax, dword [eax]
jmp 0x417f3e
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x18]
jne 0x417f4b
call fcn.00451172
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x417f5e
push eax
call fcn.00450630
add esp, 4
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00417290
lea ebx, [ebx]
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + 0x68]
mov edi, dword [ecx]
mov esi, dword [ebp + 0x50]
add ebp, 0x50
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x417f95
cmp esi, eax
je 0x417f9a
call fcn.00451172
cmp edi, ebx
je 0x418172
test esi, esi
jne 0x417fd6
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x417fb7
call fcn.00451172
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
cmp dword [edx + 0x28], eax
je 0x417fda
lea ecx, [esp + 0x20]
call fcn.004092e0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x417f87
mov eax, dword [esi]
jmp 0x417fad
test esi, esi
jne 0x418127
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x417ff3
call fcn.00451172
mov ecx, dword [edi + 0x10]
cmp dword [ecx], 0
je 0x41804f
test esi, esi
jne 0x41812e
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418014
call fcn.00451172
mov edx, dword [edi + 0x10]
mov ebx, dword [edx]
test ebx, ebx
je 0x41802d
mov ecx, ebx
call fcn.00440350
push ebx
call fcn.00450630
add esp, 4
test esi, esi
jne 0x418135
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418046
call fcn.00451172
mov eax, dword [edi + 0x10]
mov dword [eax], 0
test esi, esi
jne 0x41813c
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418068
call fcn.00451172
cmp dword [edi + 0x10], 0
je 0x4180b3
test esi, esi
jne 0x418143
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418087
call fcn.00451172
mov ecx, dword [edi + 0x10]
push ecx
call fcn.00450630
add esp, 4
test esi, esi
jne 0x41814a
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4180ac
call fcn.00451172
mov dword [edi + 0x10], 0
test esi, esi
jne 0x418151
call fcn.00451172
cmp edi, dword [esi + 0x18]
jne 0x4180ca
call fcn.00451172
mov edi, dword [edi + 0xc]
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x418172
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00412140
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
test eax, eax
je 0x41810d
cmp eax, edi
je 0x418112
call fcn.00451172
cmp dword [esp + 0x2c], esi
je 0x418158
lea ecx, [esp + 0x28]
call fcn.004092e0
mov eax, dword [esp + 0x28]
jmp 0x418105
mov eax, dword [esi]
jmp 0x417fe9
mov eax, dword [esi]
jmp 0x41800a
mov eax, dword [esi]
jmp 0x41803c
mov eax, dword [esi]
jmp 0x41805e
mov eax, dword [esi]
jmp 0x41807d
mov eax, dword [esi]
jmp 0x4180a2
mov esi, dword [esi]
jmp 0x4180c0
push esi
push edi
push ebp
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x50
call fcn.0040aec0
jmp 0x417f70
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 0x88]
mov edi, dword [edx]
mov esi, dword [ebp + 0x70]
add ebp, 0x70
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
lea esp, [esp]
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x41819e
cmp esi, eax
je 0x4181a3
call fcn.00451172
cmp edi, ebx
je 0x418392
test esi, esi
jne 0x4181df
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4181c0
call fcn.00451172
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4181e3
lea ecx, [esp + 0x30]
call fcn.004092e0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x418190
mov eax, dword [esi]
jmp 0x4181b6
test esi, esi
jne 0x418347
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4181fc
call fcn.00451172
mov edx, dword [edi + 0x10]
cmp dword [edx + 0x11c], 0
je 0x418264
test esi, esi
jne 0x41834e
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418221
call fcn.00451172
mov eax, dword [edi + 0x10]
mov ebx, dword [eax + 0x11c]
test ebx, ebx
je 0x41823e
mov ecx, ebx
call fcn.0043c380
push ebx
call fcn.00450630
add esp, 4
test esi, esi
jne 0x418355
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x418257
call fcn.00451172
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x11c], 0
test esi, esi
jne 0x41835c
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x41827d
call fcn.00451172
cmp dword [edi + 0x10], 0
je 0x4182c8
test esi, esi
jne 0x418363
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x41829c
call fcn.00451172
mov edx, dword [edi + 0x10]
push edx
call fcn.00450630
add esp, 4
test esi, esi
jne 0x41836a
call fcn.00451172
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4182c1
call fcn.00451172
mov dword [edi + 0x10], 0
test esi, esi
jne 0x418371
call fcn.00451172
cmp edi, dword [esi + 0x18]
jne 0x4182df
call fcn.00451172
mov edi, dword [edi + 0xc]
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x418392
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x70
call fcn.00412140
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov eax, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
test eax, eax
je 0x41832d
cmp eax, edi
je 0x418332
call fcn.00451172
cmp dword [esp + 0x3c], esi
je 0x418378
lea ecx, [esp + 0x38]
call fcn.004092e0
mov eax, dword [esp + 0x38]
jmp 0x418325
mov eax, dword [esi]
jmp 0x4181f2
mov eax, dword [esi]
jmp 0x418217
mov eax, dword [esi]
jmp 0x41824d
mov eax, dword [esi]
jmp 0x418273
mov eax, dword [esi]
jmp 0x418292
mov eax, dword [esi]
jmp 0x4182b7
mov esi, dword [esi]
jmp 0x4182d5
mov ecx, dword [esp + 0x14]
push esi
push edi
push ebp
push ebx
lea edx, [esp + 0x70]
push edx
add ecx, 0x70
call fcn.0040aec0
jmp 0x418172
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jl 0x417ee0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x3a8]
cmp eax, 0xffffffff
je 0x418499
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xcc]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x418499
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x418499
mov esi, dword [esp + 0x14]
add esi, 0xb0
mov ebp, dword [esi + 0x18]
mov ebx, dword [esi]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00414880
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x418406
cmp eax, ebx
je 0x41840b
call fcn.00451172
cmp dword [edi + 4], ebp
je 0x41847a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call fcn.00414880
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x418434
call fcn.00451172
mov eax, dword [edi]
test eax, eax
je 0x418438
mov eax, dword [eax]
jmp 0x41843a
xor eax, eax
mov ecx, dword [edi + 4]
cmp ecx, dword [eax + 0x18]
jne 0x418447
call fcn.00451172
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0x10]
mov edi, dword [ebx + 0x11c]
test edi, edi
je 0x418471
mov ecx, edi
call fcn.0043c380
push edi
call fcn.00450630
add esp, 4
mov dword [ebx + 0x11c], 0
push ebx
call fcn.00450630
add esp, 4
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00417290
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jl 0x4183e4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3a4]
cmp eax, 0xffffffff
je 0x4185d9
mov edx, ecx
mov ecx, dword [edx + 0xac]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4185d9
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x4185d9
mov esi, edx
add esi, 0x90
mov ebp, dword [esi + 0x18]
mov ebx, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00414880
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4184f6
cmp eax, ebx
je 0x4184fb
call fcn.00451172
cmp dword [edi + 4], ebp
je 0x418562
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call fcn.00414880
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x418524
call fcn.00451172
mov eax, dword [edi]
test eax, eax
je 0x418528
mov eax, dword [eax]
jmp 0x41852a
xor eax, eax
mov ecx, dword [edi + 4]
cmp ecx, dword [eax + 0x18]
jne 0x418537
call fcn.00451172
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0x10]
mov edi, dword [ebx]
test edi, edi
je 0x418559
mov ecx, edi
call fcn.00440350
push edi
call fcn.00450630
add esp, 4
mov dword [ebx], 0
push ebx
call fcn.00450630
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00412140
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov eax, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea ecx, [ecx]
test eax, eax
je 0x418598
cmp eax, ebx
je 0x41859d
call fcn.00451172
cmp dword [esp + 0x3c], edi
je 0x4185b2
lea ecx, [esp + 0x38]
call fcn.004092e0
mov eax, dword [esp + 0x38]
jmp 0x418590
mov eax, dword [esp + 0x44]
push edi
push ebx
push eax
push ebp
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.0040aec0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jl 0x4184d4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
pop edi
mov dword [eax + 0x3a8], ecx
mov dword [eax + 0x3a4], ecx
mov dword [eax + 0x3a0], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret