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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448159
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4630d8]
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.0040ed50
lea ecx, [esp + 0x44]
mov dword [esp + 0x150], edi
call fcn.0040ed50
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ed50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ed50
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.0040ed50
cmp dword [ebp + 8], edi
mov byte [esp + 0x150], 4
je 0x41d4ce
mov eax, dword [ebx + 0x30]
cmp eax, edi
jle 0x41c7d4
mov ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, ecx
test ecx, ecx
jl 0x41c8c9
cmp eax, dword [ebx + 0x30]
jge 0x41c8c9
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 0x41c5e1
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
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 0x41c5f0
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x30]
jge 0x41c8c9
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 0x41c8c9
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
push 0x44cdf8
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.0040f3b0
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ed80
test bl, bl
push 0x44cdf4
je 0x41c72a
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.0040ed80
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44cdf0
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.0040ed80
lea eax, [esp + 0x50]
jmp 0x41c644
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.0040ed80
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 0x41c78b
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
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 0x41c791
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 0x41c5b2
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x41d3bf
test ecx, ecx
jl 0x41c8c9
cmp ecx, dword [ebx + 0x14]
jge 0x41c8c9
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 0x41cc4e
lea ecx, [esp + 0x24]
call fcn.0040ed50
mov eax, ebx
sub eax, 3
mov byte [esp + 0x150], 9
je 0x41c951
sub eax, 1
je 0x41c8ce
sub eax, 1
jne 0x41c9d4
mov ebx, dword [0x464fb8]
xor esi, esi
test ebx, ebx
jle 0x41c9d4
xor edi, edi
test esi, esi
jle 0x41c894
push 0x44cdf0
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.0040ed80
test edi, edi
jl 0x41c8c9
cmp esi, dword [0x464fb8]
jge 0x41c8c9
mov edx, dword [0x464fb4]
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 0x41c857
jmp 0x41c9d4
call fcn.00428ef0
mov ebx, dword [0x464f9c]
xor esi, esi
test ebx, ebx
jle 0x41c9d4
xor edi, edi
test esi, esi
jle 0x41c91d
push 0x44cdf0
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.0040ed80
test edi, edi
jl 0x41c8c9
cmp esi, dword [0x464f9c]
jge 0x41c8c9
mov eax, dword [0x464f98]
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 0x41c8e0
jmp 0x41c9d4
mov ebx, dword [0x464f80]
xor esi, esi
test ebx, ebx
jle 0x41c9d4
xor edi, edi
test esi, esi
jle 0x41c99c
push 0x44cdf0
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.0040ed80
test edi, edi
jl 0x41c8c9
cmp esi, dword [0x464f80]
jge 0x41c8c9
mov ecx, dword [0x464f7c]
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 0x41c95f
mov edx, dword [str..psd]
push edx
lea ecx, [esp + 0xa8]
call fcn.004010e0
push 0x44cdec
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.0040ed80
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 0xd
call fcn.0040ed80
lea ecx, [esp + 0xa4]
mov byte [esp + 0x150], 9
call fcn.0040ed80
mov eax, dword [esp + 0x38]
mov ecx, dword [eax*4 + 0x462218]
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 0x41caf0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41cae2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cae2
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 0x41cad9
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 0x41caf0
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.0040ed80
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41cb5d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41cb4f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cb4f
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 0x41cb46
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 0x41cb5d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401ce0
lea ecx, [esp + 0x14]
call fcn.0040f370
push 0x44cde8
lea ecx, [esp + 0x88]
call fcn.00401f20
push 0x44cde4
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.0040ed80
lea ecx, [esp + 0xf4]
mov byte [esp + 0x150], 0x12
call fcn.0040ed80
lea ecx, [esp + 0x134]
mov byte [esp + 0x150], 0x11
call fcn.0040ed80
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 9
call fcn.0040ed80
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.0040ed80
mov edi, dword [esp + 0x3c]
jmp 0x41d048
cmp ebx, 0x30000
jl 0x41cd7b
sub ebx, 0x30000
cmp ebx, dword [0x464fb8]
jge 0x41d048
test ebx, ebx
jl 0x41c8c9
mov eax, dword [0x464fb4]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464fb8]
jge 0x41c8c9
mov edx, dword [0x464fb4]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f370
push 0x44cde8
lea ecx, [esp + 0xc8]
call fcn.00401f20
push 0x44cde4
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.0040ed80
lea ecx, [esp + 0x124]
mov byte [esp + 0x150], 0x16
call fcn.0040ed80
lea ecx, [esp + 0xdc]
mov byte [esp + 0x150], 0x15
call fcn.0040ed80
lea ecx, [esp + 0xc4]
jmp 0x41d03b
cmp ebx, 0x20000
jl 0x41cea8
sub ebx, 0x20000
cmp ebx, dword [0x464f9c]
jge 0x41d048
test ebx, ebx
jl 0x41c8c9
mov eax, dword [0x464f98]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464f9c]
jge 0x41c8c9
mov edx, dword [0x464f98]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f370
push 0x44cde8
lea ecx, [esp + 0x98]
call fcn.00401f20
push 0x44cde4
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.0040ed80
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0x1a
call fcn.0040ed80
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 0x19
call fcn.0040ed80
lea ecx, [esp + 0x94]
jmp 0x41d03b
cmp ebx, 0x10000
jl 0x41cfd2
sub ebx, 0x10000
cmp ebx, dword [0x464f80]
jge 0x41d048
test ebx, ebx
jl 0x41c8c9
mov eax, dword [0x464f7c]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b30
cmp ebx, dword [0x464f80]
jge 0x41c8c9
mov edx, dword [0x464f7c]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.0040f370
push 0x44cde8
lea ecx, [esp + 0xb8]
call fcn.00401f20
push 0x44cde4
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.0040ed80
lea ecx, [esp + 0x12c]
mov byte [esp + 0x150], 0x1e
call fcn.0040ed80
lea ecx, [esp + 0x13c]
mov byte [esp + 0x150], 0x1d
call fcn.0040ed80
lea ecx, [esp + 0xb4]
jmp 0x41d03b
mov eax, dword [ebx*4 + 0x462218]
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.00401b30
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
call fcn.0040ed80
mov edx, dword [ebx*4 + 0x462268]
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.00401b30
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 4
call fcn.0040ed80
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 4], 1
jle 0x41d063
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401c20
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 0x41d070
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 0x44cdf0
lea ecx, [esp + 0x90]
call fcn.00401f20
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x41d0bf
or eax, 0xffffffff
jmp 0x41d0e7
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x41d0ce
or eax, 0xffffffff
jmp 0x41d0e7
push eax
push ecx
call fcn.00432786
add esp, 8
test eax, eax
jne 0x41d0e1
or eax, 0xffffffff
jmp 0x41d0e7
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.0040ed80
test esi, esi
je 0x41d170
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d362
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41d152
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d152
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 0x41d146
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 0x41d362
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401ce0
jmp 0x41d362
push 0x44cdf8
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.0040f3b0
cmp eax, 1
lea ecx, [esp + 0x9c]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040ed80
test bl, bl
push 0x44cdf4
je 0x41d31c
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.0040ed80
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401e50
push 0x44cdf0
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.0040ed80
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x41d170
cmp dword [edi + 0xc], 0
jl 0x41d309
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x41d309
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41d2a9
cmp eax, dword [esi]
jne 0x41d2a9
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d2e4
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 0x41d53e
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.00431c4c
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d2fd
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 0x41d170
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401ce0
jmp 0x41d170
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.0040ed80
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 0x41d379
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401c20
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 0x41d387
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 0x41c7e5
cmp dword [ebx + 0x40], 0
je 0x41d4c5
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 0x41d3fd
mov edx, dword [edx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401c20
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 0x41d410
mov edx, dword [edx - 0xc]
lea esi, [edi + edx + 1]
mov edx, dword [ebp + 8]
mov word [edx + esi*2], 0x2a
mov eax, dword [0x46226c]
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.00401b30
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], bl
call fcn.0040ed80
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jle 0x41d482
mov edx, dword [ecx - 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401c20
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
lea edx, [eax + esi*2]
jmp 0x41d490
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41d490
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.0040ed80
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.0040ed80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040ed80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040ed80
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 0
call fcn.0040ed80
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.0040ed80
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