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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448129
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
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.0040fd30
lea ecx, [esp + 0x44]
mov dword [esp + 0x150], edi
call fcn.0040fd30
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040fd30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040fd30
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 3
call fcn.0040fd30
cmp dword [ebp + 8], edi
mov byte [esp + 0x150], 4
je 0x41d43e
mov eax, dword [ebx + 0x30]
cmp eax, edi
jle 0x41c744
mov ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, ecx
test ecx, ecx
jl 0x41c839
cmp eax, dword [ebx + 0x30]
jge 0x41c839
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 0x41c551
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 0x41c560
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x30]
jge 0x41c839
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 0x41c839
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x38]
add eax, 0x10
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
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.00410390
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040fd60
test bl, bl
push 0x44cdf4
je 0x41c69a
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.0040fd60
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.0040fd60
lea eax, [esp + 0x50]
jmp 0x41c5b4
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.0040fd60
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 0x41c6fb
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 0x41c701
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 0x41c522
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x41d32f
test ecx, ecx
jl 0x41c839
cmp ecx, dword [ebx + 0x14]
jge 0x41c839
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 0x41cbbe
lea ecx, [esp + 0x24]
call fcn.0040fd30
mov eax, ebx
sub eax, 3
mov byte [esp + 0x150], 9
je 0x41c8c1
sub eax, 1
je 0x41c83e
sub eax, 1
jne 0x41c944
mov ebx, dword [0x464fb8]
xor esi, esi
test ebx, ebx
jle 0x41c944
xor edi, edi
test esi, esi
jle 0x41c804
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.0040fd60
test edi, edi
jl 0x41c839
cmp esi, dword [0x464fb8]
jge 0x41c839
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 0x41c7c7
jmp 0x41c944
call fcn.00428ce4
mov ebx, dword [0x464f9c]
xor esi, esi
test ebx, ebx
jle 0x41c944
xor edi, edi
test esi, esi
jle 0x41c88d
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.0040fd60
test edi, edi
jl 0x41c839
cmp esi, dword [0x464f9c]
jge 0x41c839
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 0x41c850
jmp 0x41c944
mov ebx, dword [0x464f80]
xor esi, esi
test ebx, ebx
jle 0x41c944
xor edi, edi
test esi, esi
jle 0x41c90c
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.0040fd60
test edi, edi
jl 0x41c839
cmp esi, dword [0x464f80]
jge 0x41c839
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 0x41c8cf
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.0040fd60
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 0xd
call fcn.0040fd60
lea ecx, [esp + 0xa4]
mov byte [esp + 0x150], 9
call fcn.0040fd60
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 0x41ca60
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41ca52
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41ca52
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 0x41ca49
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 0x41ca60
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.0040fd60
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41cacd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41cabf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cabf
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 0x41cab6
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 0x41cacd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401ce0
lea ecx, [esp + 0x14]
call fcn.00410350
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.0040fd60
lea ecx, [esp + 0xf4]
mov byte [esp + 0x150], 0x12
call fcn.0040fd60
lea ecx, [esp + 0x134]
mov byte [esp + 0x150], 0x11
call fcn.0040fd60
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 9
call fcn.0040fd60
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.0040fd60
mov edi, dword [esp + 0x3c]
jmp 0x41cfb8
cmp ebx, 0x30000
jl 0x41cceb
sub ebx, 0x30000
cmp ebx, dword [0x464fb8]
jge 0x41cfb8
test ebx, ebx
jl 0x41c839
mov eax, dword [0x464fb4]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464fb8]
jge 0x41c839
mov edx, dword [0x464fb4]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.00410350
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.0040fd60
lea ecx, [esp + 0x124]
mov byte [esp + 0x150], 0x16
call fcn.0040fd60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x150], 0x15
call fcn.0040fd60
lea ecx, [esp + 0xc4]
jmp 0x41cfab
cmp ebx, 0x20000
jl 0x41ce18
sub ebx, 0x20000
cmp ebx, dword [0x464f9c]
jge 0x41cfb8
test ebx, ebx
jl 0x41c839
mov eax, dword [0x464f98]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464f9c]
jge 0x41c839
mov edx, dword [0x464f98]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.00410350
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.0040fd60
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0x1a
call fcn.0040fd60
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 0x19
call fcn.0040fd60
lea ecx, [esp + 0x94]
jmp 0x41cfab
cmp ebx, 0x10000
jl 0x41cf42
sub ebx, 0x10000
cmp ebx, dword [0x464f80]
jge 0x41cfb8
test ebx, ebx
jl 0x41c839
mov eax, dword [0x464f7c]
mov esi, ebx
shl esi, 6
lea ecx, [esi + eax + 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401b00
cmp ebx, dword [0x464f80]
jge 0x41c839
mov edx, dword [0x464f7c]
lea eax, [esi + edx + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b00
lea ecx, [esp + 0x14]
call fcn.00410350
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.0040fd60
lea ecx, [esp + 0x12c]
mov byte [esp + 0x150], 0x1e
call fcn.0040fd60
lea ecx, [esp + 0x13c]
mov byte [esp + 0x150], 0x1d
call fcn.0040fd60
lea ecx, [esp + 0xb4]
jmp 0x41cfab
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.00401b00
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
call fcn.0040fd60
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.00401b00
lea ecx, [esp + 0x7c]
mov byte [esp + 0x150], 4
call fcn.0040fd60
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 4], 1
jle 0x41cfd3
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 0x41cfe0
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 0x41d02f
or eax, 0xffffffff
jmp 0x41d057
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x41d03e
or eax, 0xffffffff
jmp 0x41d057
push eax
push ecx
call fcn.00432b68
add esp, 8
test eax, eax
jne 0x41d051
or eax, 0xffffffff
jmp 0x41d057
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.0040fd60
test esi, esi
je 0x41d0e0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d2d2
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41d0c2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d0c2
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 0x41d0b6
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 0x41d2d2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401ce0
jmp 0x41d2d2
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.00410390
cmp eax, 1
lea ecx, [esp + 0x9c]
setne bl
mov byte [esp + 0x150], 4
call fcn.0040fd60
test bl, bl
push 0x44cdf4
je 0x41d28c
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.0040fd60
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.0040fd60
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x41d0e0
cmp dword [edi + 0xc], 0
jl 0x41d279
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x41d279
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41d219
cmp eax, dword [esi]
jne 0x41d219
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d254
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 0x41d4ae
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.00431c31
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d26d
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 0x41d0e0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401ce0
jmp 0x41d0e0
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.0040fd60
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 0x41d2e9
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 0x41d2f7
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 0x41c755
cmp dword [ebx + 0x40], 0
je 0x41d435
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 0x41d36d
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 0x41d380
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.00401b00
lea ecx, [esp + 0x64]
mov byte [esp + 0x150], bl
call fcn.0040fd60
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jle 0x41d3f2
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 0x41d400
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41d400
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.0040fd60
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.0040fd60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.0040fd60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 1
call fcn.0040fd60
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 0
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.0040fd60
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