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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448289
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edi
call fcn.0040ec40
lea ecx, [esp + 0x44]
mov dword [esp + 0x150], edi
call fcn.0040ec40
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ec40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ec40
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.0040ec40
cmp dword [ebp + 8], edi
mov byte [esp + 0x150], 4
je 0x41dcae
mov eax, dword [ebx + 0x30]
cmp eax, edi
jle 0x41cfb4
mov ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, ecx
test ecx, ecx
jl 0x41d0a9
cmp eax, dword [ebx + 0x30]
jge 0x41d0a9
mov eax, dword [ebx + 0x2c]
add eax, ecx
lea esi, [eax + 8]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41cdc1
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
lea edx, [edx + edi*2]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41cdd0
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x30]
jge 0x41d0a9
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
push 0x456411
mov ecx, dword [eax + 8]
mov eax, dword [ecx - 0xc]
lea ecx, [esp + 0x24]
lea esi, [edi + eax + 1]
call fcn.00401a30
mov edx, dword [esp + 0x2c]
cmp edx, dword [ebx + 0x30]
jge 0x41d0a9
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
push 0x44ce10
lea ecx, [esp + 0x28]
call fcn.00401f20
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 5
call fcn.0040f2a0
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ec70
test bl, bl
push 0x44ce0c
je 0x41cf0a
lea ecx, [esp + 0x70]
call fcn.00401f20
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 6
call fcn.00401e50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44ce08
lea ecx, [esp + 0x58]
call fcn.00401f20
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 7
call fcn.00401e50
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 4
call fcn.0040ec70
lea eax, [esp + 0x50]
jmp 0x41ce24
lea ecx, [esp + 0x60]
call fcn.00401f20
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 8
call fcn.00401e50
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 4], 1
jle 0x41cf6b
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
lea edx, [edx + esi*2]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41cf71
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
lea edi, [esi + eax + 1]
mov eax, dword [esp + 0x2c]
add eax, 1
add ecx, 0x40
cmp eax, dword [ebx + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
jl 0x41cd92
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x41db9f
test ecx, ecx
jl 0x41d0a9
cmp ecx, dword [ebx + 0x14]
jge 0x41d0a9
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [edx + eax*4]
lea eax, [edx + eax*4]
lea ecx, [ebx - 3]
cmp ecx, 2
mov dword [esp + 0x38], ebx
ja 0x41d42e
lea ecx, [esp + 0x24]
call fcn.0040ec40
mov eax, ebx
sub eax, 3
mov byte [esp + 0x150], 9
je 0x41d131
sub eax, 1
je 0x41d0ae
sub eax, 1
jne 0x41d1b4
mov ebx, dword [0x464fa0]
xor esi, esi
test ebx, ebx
jle 0x41d1b4
xor edi, edi
test esi, esi
jle 0x41d074
push 0x44ce08
lea ecx, [esp + 0x60]
call fcn.00401f20
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xc
call fcn.00401e50
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 9
call fcn.0040ec70
test edi, edi
jl 0x41d0a9
cmp esi, dword [0x464fa0]
jge 0x41d0a9
mov edx, dword [0x464f9c]
lea eax, [edi + edx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41d037
jmp 0x41d1b4
call fcn.00428daa
mov ebx, dword [0x464f84]
xor esi, esi
test ebx, ebx
jle 0x41d1b4
xor edi, edi
test esi, esi
jle 0x41d0fd
push 0x44ce08
lea ecx, [esp + 0x58]
call fcn.00401f20
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xb
call fcn.00401e50
lea ecx, [esp + 0x54]
mov byte [esp + 0x150], 9
call fcn.0040ec70
test edi, edi
jl 0x41d0a9
cmp esi, dword [0x464f84]
jge 0x41d0a9
mov eax, dword [0x464f80]
lea eax, [edi + eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41d0c0
jmp 0x41d1b4
mov ebx, dword [0x464f68]
xor esi, esi
test ebx, ebx
jle 0x41d1b4
xor edi, edi
test esi, esi
jle 0x41d17c
push 0x44ce08
lea ecx, [esp + 0x70]
call fcn.00401f20
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xa
call fcn.00401e50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 9
call fcn.0040ec70
test edi, edi
jl 0x41d0a9
cmp esi, dword [0x464f68]
jge 0x41d0a9
mov ecx, dword [0x464f64]
lea eax, [edi + ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401e50
add esi, 1
add edi, 0x40
cmp esi, ebx
jl 0x41d13f
mov edx, dword [str..psd]
push edx
lea ecx, [esp + 0xa8]
call fcn.004010e0
push 0x44ce04
lea ecx, [esp + 0xd8]
mov byte [esp + 0x154], 0xd
call fcn.00401f20
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0xe
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0xf
call fcn.00401e50
lea ecx, [esp + 0xe4]
mov byte [esp + 0x150], 0xe
call fcn.0040ec70
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 0xd
call fcn.0040ec70
lea ecx, [esp + 0xa4]
mov byte [esp + 0x150], 9
call fcn.0040ec70
mov eax, dword [esp + 0x38]
mov ecx, dword [eax*4 + 0x4621f8]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004010e0
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0x34]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x150], 0x10
je 0x41d2d0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41d2c2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d2c2
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41d2b9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x34], ebx
jmp 0x41d2d0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401ce0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x150], 9
call fcn.0040ec70
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d33d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41d32f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d32f
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41d326
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x41d33d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401ce0
lea ecx, [esp + 0x14]
call fcn.0040f260
push 0x44ce00
lea ecx, [esp + 0x88]
call fcn.00401f20
push 0x44cdfc
lea ecx, [esp + 0x138]
mov byte [esp + 0x154], 0x11
call fcn.00401f20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xf8]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x12
call fcn.004011f0
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x118]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x13
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x14
call fcn.00401e50
lea ecx, [esp + 0x114]
mov byte [esp + 0x150], 0x13
call fcn.0040ec70
lea ecx, [esp + 0xf4]
mov byte [esp + 0x150], 0x12
call fcn.0040ec70
lea ecx, [esp + 0x134]
mov byte [esp + 0x150], 0x11
call fcn.0040ec70
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 9
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov edi, dword [esp + 0x3c]
jmp 0x41d828
cmp ebx, 0x30000
jl 0x41d55b
sub ebx, 0x30000
cmp ebx, dword [0x464fa0]
jge 0x41d828
test ebx, ebx
jl 0x41d0a9
mov eax, dword [0x464f9c]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464fa0]
jge 0x41d0a9
mov edx, dword [0x464f9c]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.0040f260
push 0x44ce00
lea ecx, [esp + 0xc8]
call fcn.00401f20
push 0x44cdfc
lea ecx, [esp + 0xe0]
mov byte [esp + 0x154], 0x15
call fcn.00401f20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x128]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x16
call fcn.004011f0
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x108]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x17
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x18
call fcn.00401e50
lea ecx, [esp + 0x104]
mov byte [esp + 0x150], 0x17
call fcn.0040ec70
lea ecx, [esp + 0x124]
mov byte [esp + 0x150], 0x16
call fcn.0040ec70
lea ecx, [esp + 0xdc]
mov byte [esp + 0x150], 0x15
call fcn.0040ec70
lea ecx, [esp + 0xc4]
jmp 0x41d81b
cmp ebx, 0x20000
jl 0x41d688
sub ebx, 0x20000
cmp ebx, dword [0x464f84]
jge 0x41d828
test ebx, ebx
jl 0x41d0a9
mov eax, dword [0x464f80]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464f84]
jge 0x41d0a9
mov edx, dword [0x464f80]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.0040f260
push 0x44ce00
lea ecx, [esp + 0x98]
call fcn.00401f20
push 0x44cdfc
lea ecx, [esp + 0x110]
mov byte [esp + 0x154], 0x19
call fcn.00401f20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x100]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1a
call fcn.004011f0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xf0]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1b
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x1c
call fcn.00401e50
lea ecx, [esp + 0xec]
mov byte [esp + 0x150], 0x1b
call fcn.0040ec70
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0x1a
call fcn.0040ec70
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 0x19
call fcn.0040ec70
lea ecx, [esp + 0x94]
jmp 0x41d81b
cmp ebx, 0x10000
jl 0x41d7b2
sub ebx, 0x10000
cmp ebx, dword [0x464f68]
jge 0x41d828
test ebx, ebx
jl 0x41d0a9
mov eax, dword [0x464f64]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464f68]
jge 0x41d0a9
mov edx, dword [0x464f64]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.0040f260
push 0x44ce00
lea ecx, [esp + 0xb8]
call fcn.00401f20
push 0x44cdfc
lea ecx, [esp + 0x140]
mov byte [esp + 0x154], 0x1d
call fcn.00401f20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x130]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1e
call fcn.004011f0
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x120]
push edx
mov ecx, eax
mov byte [esp + 0x158], 0x1f
call fcn.004011f0
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x158], 0x20
call fcn.00401e50
lea ecx, [esp + 0x11c]
mov byte [esp + 0x150], 0x1f
call fcn.0040ec70
lea ecx, [esp + 0x12c]
mov byte [esp + 0x150], 0x1e
call fcn.0040ec70
lea ecx, [esp + 0x13c]
mov byte [esp + 0x150], 0x1d
call fcn.0040ec70
lea ecx, [esp + 0xb4]
jmp 0x41d81b
mov eax, dword [ebx*4 + 0x4621f8]
push eax
lea ecx, [esp + 0x78]
call fcn.004010e0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x154], 0x21
call fcn.00401b00
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov edx, dword [ebx*4 + 0x462248]
push edx
lea ecx, [esp + 0x80]
call fcn.004010e0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0x22
call fcn.00401b00
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 4], 1
jle 0x41d843
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401bf0
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
lea edx, [edx + edi*2]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41d850
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
lea ecx, [edi + eax + 1]
mov dword [esp + 0x3c], ecx
push 0x456411
lea ecx, [esp + 0x24]
call fcn.00401a30
push 0x44ce08
lea ecx, [esp + 0x90]
call fcn.00401f20
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x41d89f
or eax, 0xffffffff
jmp 0x41d8c7
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x41d8ae
or eax, 0xffffffff
jmp 0x41d8c7
push eax
push ecx
call fcn.00432375
add esp, 8
test eax, eax
jne 0x41d8c1
or eax, 0xffffffff
jmp 0x41d8c7
sub eax, dword [esp + 0x18]
sar eax, 1
xor edx, edx
test eax, eax
setge dl
lea ecx, [esp + 0x8c]
mov esi, edx
call fcn.0040ec70
test esi, esi
je 0x41d950
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41db42
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41d932
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d932
push eax
call fcn.00401de0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41d926
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x20], edi
jmp 0x41db42
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401ce0
jmp 0x41db42
push 0x44ce10
lea ecx, [esp + 0xa0]
call fcn.00401f20
push 0
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 0x23
call fcn.0040f2a0
cmp eax, 1
lea ecx, [esp + 0x9c]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ec70
test bl, bl
push 0x44ce0c
je 0x41dafc
lea ecx, [esp + 0xb0]
call fcn.00401f20
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x24
call fcn.00401e50
lea ecx, [esp + 0xac]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44ce08
lea ecx, [esp + 0xc0]
call fcn.00401f20
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x25
call fcn.00401e50
lea ecx, [esp + 0xbc]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x41d950
cmp dword [edi + 0xc], 0
jl 0x41dae9
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x41dae9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41da89
cmp eax, dword [esi]
jne 0x41da89
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41dac4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41dd1e
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00431d1a
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41dadd
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x41d950
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401ce0
jmp 0x41d950
lea ecx, [esp + 0x68]
call fcn.00401f20
mov eax, dword [esp + 0x68]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0x26
call fcn.00401e50
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x41db59
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [edx + edi*2]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41db67
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax - 0xc]
mov ebx, dword [esp + 0x40]
add ecx, 1
cmp ecx, dword [ebx + 0x14]
lea edi, [edi + eax + 1]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ecx
jl 0x41cfc5
cmp dword [ebx + 0x40], 0
je 0x41dca5
mov ecx, dword [str.All_Files__._]
push ecx
lea ecx, [esp + 0x28]
call fcn.004010e0
mov edx, dword [esp + 0x28]
cmp dword [edx - 4], 1
mov bl, 0x27
mov byte [esp + 0x150], bl
jle 0x41dbdd
mov edx, dword [edx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401bf0
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
lea ecx, [edi + edi]
sub ecx, edx
mov eax, edx
add esi, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x41dbf0
mov edx, dword [edx - 0xc]
lea esi, [edi + edx + 1]
mov edx, dword [ebp + 8]
mov word [edx + esi*2], 0x2a
mov eax, dword [0x46224c]
push eax
lea ecx, [esp + 0x68]
add esi, 1
call fcn.004010e0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0x28
call fcn.00401b00
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], bl
call fcn.0040ec70
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jle 0x41dc62
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401bf0
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
lea edx, [eax + esi*2]
jmp 0x41dc70
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41dc70
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
lea edx, [esi + eax + 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x150], 4
call fcn.0040ec70
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov word [eax + edi*2], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.0040ec70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ec70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ec70
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 0
call fcn.0040ec70
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.0040ec70
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401d80
int3