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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515469
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 0x54]
test esi, esi
je 0x41ce17
lea eax, [esi - 0x54]
jmp 0x41ce19
xor eax, eax
mov eax, dword [eax + 4]
mov edi, dword [0x5262a4]
push 0x4b0
push eax
call edi
mov ebx, dword [0x526384]
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x78], cl
test esi, esi
je 0x41ce51
lea eax, [esi - 0x54]
jmp 0x41ce53
xor eax, eax
mov eax, dword [eax + 4]
push 0x4b1
push eax
call edi
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x79], cl
test esi, esi
je 0x41ce7f
lea eax, [esi - 0x54]
jmp 0x41ce81
xor eax, eax
mov eax, dword [eax + 4]
push 0x4b2
push eax
call edi
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x7a], cl
test esi, esi
je 0x41cead
lea eax, [esi - 0x54]
jmp 0x41ceaf
xor eax, eax
mov eax, dword [eax + 4]
push 0x4b3
push eax
call edi
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x7b], cl
test esi, esi
je 0x41cedb
lea eax, [esi - 0x54]
jmp 0x41cedd
xor eax, eax
mov eax, dword [eax + 4]
push 0x4b4
push eax
call edi
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x7c], cl
test esi, esi
je 0x41cf09
add esi, 0xffffffac
jmp 0x41cf0b
xor esi, esi
mov eax, dword [esi + 4]
push 0x4b5
push eax
call edi
push 0
push 0
push 0xf0
push eax
call ebx
mov edx, dword [ebp - 0x10]
cmp eax, 1
sete cl
mov byte [edx + 0x7d], cl
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41cf83
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41cf83
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41cf77
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41cf85
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41cf85
xor esi, esi
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x41cf90
xor ecx, ecx
jmp 0x41cfa6
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41cf9c
mov eax, dword [eax + 0xc]
jmp 0x41cf9e
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0x78], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sete bl
call eax
mov ecx, 0x56a4bc
mov byte [eax], bl
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d00e
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41d00e
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d002
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41d010
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41d010
xor esi, esi
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x41d01b
xor ecx, ecx
jmp 0x41d031
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d027
mov eax, dword [eax + 0xc]
jmp 0x41d029
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push 0x578
mov ecx, edi
mov esi, eax
call fcn.004166d0
mov ecx, 0x56a4bc
mov dword [esi], eax
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d09d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d09d
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d091
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d09f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d09f
xor eax, eax
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x41d0aa
xor ecx, ecx
jmp 0x41d0c0
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d0b6
mov edx, dword [ecx + 0xc]
jmp 0x41d0b8
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
cmp byte [edi + 0x79], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
sete bl
call eax
mov ecx, 0x56a4bc
mov byte [eax], bl
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d125
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41d125
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d119
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41d127
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41d127
xor esi, esi
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x41d132
xor ecx, ecx
jmp 0x41d148
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d13e
mov eax, dword [eax + 0xc]
jmp 0x41d140
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
push 0x579
mov ecx, edi
mov esi, eax
call fcn.004166d0
mov ecx, 0x56a4bc
mov dword [esi], eax
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d1b4
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d1b4
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d1a8
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d1b6
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d1b6
xor eax, eax
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x41d1c1
xor ecx, ecx
jmp 0x41d1d7
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d1cd
mov edx, dword [ecx + 0xc]
jmp 0x41d1cf
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
cmp byte [edi + 0x7a], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
sete bl
call eax
mov ecx, 0x56a4bc
mov byte [eax], bl
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d23c
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41d23c
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d230
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41d23e
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41d23e
xor esi, esi
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x41d249
xor ecx, ecx
jmp 0x41d25f
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d255
mov eax, dword [eax + 0xc]
jmp 0x41d257
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
push 0x57a
mov ecx, edi
mov esi, eax
call fcn.004166d0
mov ecx, 0x56a4bc
mov dword [esi], eax
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d2cb
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d2cb
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d2bf
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d2cd
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d2cd
xor eax, eax
cmp byte [edi + 0x7c], 0
mov ecx, 0x56a4bc
setne dl
mov byte [eax + 0x85], dl
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41d32f
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d32f
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d323
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d331
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d331
xor eax, eax
cmp byte [edi + 0x7b], 0
sete cl
mov byte [eax + 0x89], cl
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41d39d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x41d379
xor eax, eax
mov esi, eax
jmp 0x41d39f
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d38f
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x41d39f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x41d39f
xor esi, esi
push 0x57b
mov ecx, edi
call fcn.004166d0
mov ecx, 0x56a4bc
mov dword [esi + 0x8c], eax
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d406
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d406
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d3fa
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d408
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d408
xor eax, eax
cmp byte [edi + 0x7d], 0
mov ecx, 0x56a4bc
sete dl
mov byte [eax + 0x88], dl
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41d46a
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d46a
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d45e
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d46c
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d46c
xor eax, eax
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x41d477
xor ecx, ecx
jmp 0x41d48d
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d483
mov edx, dword [ecx + 0xc]
jmp 0x41d485
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
test al, al
je 0x41d66d
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d4f6
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d4f6
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d4ea
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d4f8
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d4f8
xor eax, eax
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x41d503
xor ecx, ecx
jmp 0x41d519
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d50f
mov edx, dword [ecx + 0xc]
jmp 0x41d511
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
cmp ebx, eax
jge 0x41d66d
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d57d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d57d
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d571
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d57f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d57f
xor eax, eax
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x41d58a
xor edi, edi
jmp 0x41d5a0
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d596
mov ecx, dword [ecx + 0xc]
jmp 0x41d598
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
push 0xf000
push ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x84]
push 0x102c
push edx
call dword [0x526384]
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
push ecx
mov ecx, edi
call edx
shr esi, 0xc
dec esi
sete cl
mov byte [eax], cl
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41d628
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41d628
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d61c
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41d62a
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41d62a
xor esi, esi
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x41d635
xor ecx, ecx
jmp 0x41d64b
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d641
mov eax, dword [eax + 0xc]
jmp 0x41d643
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov edi, dword [ebp - 0x18]
mov eax, dword [edx + 0x4c]
push edi
call eax
push edi
mov ecx, ebx
mov esi, eax
call fcn.004165d0
inc edi
mov dword [esi], eax
mov dword [ebp - 0x18], edi
mov ebx, edi
jmp 0x41d4a1
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d6c2
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41d6c2
mov edx, dword [eax + 0x14]
test edx, edx
je 0x41d6b6
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d6c4
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d6c4
xor eax, eax
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x41d6cf
xor ecx, ecx
jmp 0x41d6e5
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d6db
mov edx, dword [ecx + 0xc]
jmp 0x41d6dd
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
call eax
test al, al
je 0x41ddf9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push 0
push 0
push 0x110a
push edx
call dword [0x526384]
mov ecx, 0x56a4bc
mov ebx, eax
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41d764
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41d764
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d758
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41d766
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41d766
xor esi, esi
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x41d771
xor edi, edi
jmp 0x41d787
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d77d
mov eax, dword [eax + 0xc]
jmp 0x41d77f
xor eax, eax
mov edi, dword [esi + 0x24]
imul edi, eax
add edi, ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push 0xf000
push ebx
push 0x1127
push edx
call dword [0x526384]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
mov ecx, edi
and esi, 0xf000
call edx
mov edx, dword [ebp - 0x10]
and esi, 0xfffff000
push ebx
cmp esi, 0x2000
sete cl
push 4
mov byte [eax], cl
mov eax, dword [edx + 0xa4]
push 0x110a
push eax
call dword [0x526384]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], 0x55925c
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x48], vtable.CCriticalLock.0
xor ebx, ebx
mov edx, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov ecx, 0x55925c
call eax
mov dword [ebp - 4], ebx
cmp dword [0x5699f4], ebx
jne 0x41d888
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x41d880
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x41d882
xor esi, esi
mov dword [0x5699f4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x55925c
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41d8ea
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x41d8ea
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x41d8de
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41d8ec
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41d8ec
xor eax, eax
mov esi, dword [eax + 0x20]
cmp esi, ebx
jne 0x41d8f7
xor ecx, ecx
jmp 0x41d90d
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x41d903
mov edx, dword [ecx + 0xc]
jmp 0x41d905
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [ebp - 0x14], eax
jge 0x41ddf9
cmp dword [ebp - 0x18], ebx
je 0x41ddf9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xa4]
push 0xf000
push ecx
push 0x1127
push eax
call dword [0x526384]
mov edi, eax
shr edi, 0xc
and edi, 0xf
cmp edi, 2
jle 0x41d954
sub edi, 2
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x55925c
mov dword [ebp - 0x30], vtable.CCriticalLock.0
mov dword [ebp - 0x2c], ecx
call eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 2
cmp dword [0x5699f4], ebx
jne 0x41d9f4
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x41d9ec
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x41d9ee
xor esi, esi
mov dword [0x5699f4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x55925c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CCriticalLock.0
call eax
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41da5d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x41da5d
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x41da51
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41da5f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41da5f
xor eax, eax
mov esi, dword [eax + 0x20]
cmp esi, ebx
jne 0x41da6a
xor ecx, ecx
jmp 0x41da80
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x41da76
mov edx, dword [ecx + 0xc]
jmp 0x41da78
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx + 0x7c]
push eax
call edx
mov edx, dword [ebp - 0x18]
push edx
cmp edi, 2
mov edi, dword [ebp - 0x10]
sete cl
push 4
mov byte [eax], cl
mov eax, dword [edi + 0xa4]
push 0x110a
push eax
call dword [0x526384]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x41ddd9
jmp 0x41dac0
mov edx, dword [edi + 0xa4]
xor eax, eax
lea ecx, [ebp - 0x70]
push ecx
push ebx
push 0x110c
mov dword [ebp - 0x6c], eax
push edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], 4
call dword [0x526384]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
je 0x41ddb7
mov ecx, dword [edi + 0x5c]
sub ecx, dword [edi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jae 0x41ddb7
mov ecx, dword [edi + 0xa4]
push 0xf000
push esi
push 0x1127
push ecx
call dword [0x526384]
mov edi, eax
shr edi, 0xc
and edi, 0xf
cmp edi, 2
jle 0x41db55
sub edi, 2
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x55925c
mov dword [ebp - 0x3c], vtable.CCriticalLock.0
mov dword [ebp - 0x38], ecx
call eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 4
cmp dword [0x5699f4], ebx
jne 0x41dbf5
push 0x68
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x41dbed
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x41dbef
xor esi, esi
mov dword [0x5699f4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x55925c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], vtable.CCriticalLock.0
call eax
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x41dc5e
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x41dc5e
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x41dc52
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x41dc60
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x41dc60
xor eax, eax
mov esi, dword [eax + 0x20]
cmp esi, ebx
jne 0x41dc6b
xor ecx, ecx
jmp 0x41dc81
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x41dc77
mov edx, dword [ecx + 0xc]
jmp 0x41dc79
xor edx, edx
mov ecx, dword [eax + 0x24]
imul ecx, edx
add ecx, esi
mov eax, dword [ebp - 0x1c]
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
add edx, edx
add edx, edx
add eax, edx
mov dword [ebp - 0x1c], edx
mov edx, dword [eax]
cmp edx, ebx
jne 0x41dca0
xor eax, eax
jmp 0x41dcb6
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x41dcac
mov esi, dword [esi + 0xc]
jmp 0x41dcae
xor esi, esi
mov eax, dword [eax + 4]
imul eax, esi
add eax, edx
mov eax, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [ebp - 0x14]
push eax
call edx
cmp edi, 1
sete cl
mov byte [eax], cl
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41dd25
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41dd25
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x41dd19
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x41dd27
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x41dd27
xor esi, esi
mov edx, dword [esi + 0x20]
cmp edx, ebx
jne 0x41dd32
xor ecx, ecx
jmp 0x41dd48
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x41dd3e
mov eax, dword [eax + 0xc]
jmp 0x41dd40
xor eax, eax
mov ecx, dword [esi + 0x24]
imul ecx, eax
add ecx, edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x58]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx + eax]
add edx, eax
cmp esi, ebx
jne 0x41dd5e
xor eax, eax
jmp 0x41dd74
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x41dd6a
mov edi, dword [eax + 0xc]
jmp 0x41dd6c
xor edi, edi
mov eax, dword [edx + 4]
imul eax, edi
add eax, esi
mov eax, dword [eax + 8]
mov edi, esi
mov dword [ebp - 0x1c], eax
cmp edi, ebx
jne 0x41dd84
xor esi, esi
jmp 0x41dd9a
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x41dd90
mov eax, dword [eax + 0xc]
jmp 0x41dd92
xor eax, eax
mov esi, dword [edx + 4]
imul esi, eax
add esi, edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call edx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [edi + 0xa4]
push esi
push 1
push 0x110a
push edx
call dword [0x526384]
mov esi, eax
mov dword [ebp - 0x20], eax
cmp esi, ebx
jne 0x41dac0
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0xa4]
push eax
push 1
push 0x110a
push ecx
call dword [0x526384]
inc dword [ebp - 0x14]
jmp 0x41d7fa
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret