Function at 0x432330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov eax, dword [0x8e4a3c]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x20]
cmp eax, 2
je 0x4324dc
cmp eax, 1
je 0x432387
test eax, eax
jne 0x43275b
cmp byte [esi + 0x138], 2
jne 0x432466
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 2
jmp 0x43275b
cmp byte [esi + 0x139], 0
je 0x4325ea
cmp dword [0x6633b4], 3
jl 0x4323b1
lea eax, [esi + 0x142]
push eax
push str._INFO__got_next_file:__s_n
call fcn.00401220
add esp, 8
inc dword [esi + 0x1c4]
mov eax, dword [0x8e7fec]
test eax, eax
je 0x4323ec
movzx ecx, byte [esi + 0x24]
movzx edx, word [esi + 0x13c]
mov edi, dword [esi + 0x13e]
bswap edi
lea ebx, [esi + 0x142]
push ecx
push edx
push edi
push ebx
push dword [esi + 0x130]
call eax
add esp, 0x14
mov byte [esi + 0x24], 0
cmp byte [esi + 0x13a], 0
je 0x43262b
mov eax, dword [esi + 0x130]
cmp dword [eax + 4], 0
je 0x4324dc
mov dword [esi + 0x20], 0
mov eax, dword [eax + 4]
mov dword [esi + 0x130], eax
cmp dword [0x6633b4], 3
jl 0x432439
add eax, 0x12
push eax
push str._INFO__enter_folder:__s_n
call fcn.00401220
add esp, 8
mov eax, dword [esi + 0x130]
mov dword [esi + 0x134], 0
movzx ecx, word [eax + 0xc]
movzx eax, word [eax + 0xe]
rol cx, 8
rol ax, 8
mov word [esp], cx
mov byte [esp + 2], 0xd1
mov word [esp + 3], ax
jmp 0x432576
cmp byte [esi + 0x139], 0
mov byte [esi + 0x24], 1
je 0x432684
cmp dword [0x6633b4], 3
jl 0x432494
lea eax, [esi + 0x142]
push eax
push str._INFO__got_first_file:__s_n
call fcn.00401220
add esp, 8
inc dword [esi + 0x1c4]
mov eax, dword [0x8e7fec]
test eax, eax
je 0x4324cf
movzx ecx, byte [esi + 0x24]
movzx edx, word [esi + 0x13c]
mov edi, dword [esi + 0x13e]
bswap edi
lea ebx, [esi + 0x142]
push ecx
push edx
push edi
push ebx
push dword [esi + 0x130]
call eax
add esp, 0x14
mov byte [esi + 0x24], 0
cmp byte [esi + 0x13a], 0
je 0x43262b
mov ebp, dword [esi + 0x130]
mov edi, dword [ebp + 8]
test edi, edi
je 0x4325c3
mov ebx, ebp
cmp dword [0x6633b4], 3
jl 0x432509
lea eax, [ebx + 0x12]
push eax
push str._INFO__exit_folder:__s_n
call fcn.00401220
add esp, 8
dec dword [0x8e7fc0]
push ebx
call fcn.004cefa9
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x432521
mov dword [eax + 4], edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x130], edi
cmp dword [0x6633b4], 3
jl 0x43254e
add edi, 0x12
push edi
push str._INFO__enter_folder:__s_n
call fcn.00401220
add esp, 8
mov edi, dword [esi + 0x130]
mov dword [esi + 0x134], 0
movzx eax, word [edi + 0xc]
movzx ecx, word [edi + 0xe]
rol ax, 8
rol cx, 8
mov word [esp], ax
mov byte [esp + 2], 0xd1
mov word [esp + 3], cx
mov dword [esp + 5], 0xd00002d2
call sub.KERNEL32.dll_GetTickCount
mov dword [0x8e7fb0], eax
mov ecx, esp
mov edx, 9
jmp 0x432673
dec dword [0x8e7fc0]
push ebp
call fcn.004cefa9
add esp, 4
mov dword [ebx + 4], 0
mov edi, dword [ebx + 8]
mov ebp, ebx
test edi, edi
jne 0x4324ef
mov ebx, dword [ebp]
test ebx, ebx
je 0x43267d
cmp dword [0x6633b4], 3
jl 0x4325a0
lea eax, [ebp + 0x12]
push eax
push str._INFO__exit_folder:__s_n
call fcn.00401220
add esp, 8
jmp 0x4325a0
lea ebx, [esi + 0x142]
push ebx
call fcn.004d07c0
add esp, 4
add eax, 0x13
inc dword [0x8e7fc0]
push eax
call fcn.004cfdf3
add esp, 4
test eax, eax
je 0x43273b
mov edi, eax
mov eax, dword [esi + 0x134]
test eax, eax
je 0x43276e
add eax, 8
jmp 0x432777
mov dword [esi + 0x20], 1
movzx esi, word [esi + 0x13c]
cmp dword [0x6633b4], 3
jl 0x432650
push esi
push str._INFO__query_item:__d_n
call fcn.00401220
add esp, 8
mov dword [esp], 0x8d10000
mov word [esp + 4], 0xd000
mov word [esp], si
call sub.KERNEL32.dll_GetTickCount
mov dword [0x8e7fb0], eax
mov ecx, esp
mov edx, 6
call fcn.00433720
jmp 0x43275b
push 0
jmp 0x432753
lea ebx, [esi + 0x142]
push ebx
call fcn.004d07c0
add esp, 4
add eax, 0x13
inc dword [0x8e7fc0]
push eax
call fcn.004cfdf3
add esp, 4
test eax, eax
je 0x43273b
mov edi, eax
mov eax, dword [esi + 0x130]
mov dword [eax + 4], edi
mov dword [esi + 0x134], edi
mov eax, dword [esi + 0x130]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0x13e]
mov dword [edi + 0xc], eax
movzx eax, word [esi + 0x13c]
mov word [edi + 0x10], ax
mov ebp, edi
add ebp, 0x12
push ebx
push ebp
call fcn.004d0630
add esp, 8
cmp dword [0x6633b4], 3
jl 0x43270e
push ebp
push str._INFO__got_first_folder:__s_n
call fcn.00401220
add esp, 8
cmp byte [esi + 0x13a], 0
je 0x432809
mov dword [esi + 0x20], 0
mov dword [esi + 0x130], edi
cmp dword [0x6633b4], 3
jl 0x43254e
push ebp
jmp 0x43253b
cmp dword [0x6633b4], 0
jle 0x432751
push str._ERROR__alloc_node_fail_
call fcn.004cfe43
add esp, 4
push 3
call fcn.00432240
add esp, 4
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c0e60
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x130]
add eax, 4
mov dword [eax], edi
mov dword [esi + 0x134], edi
mov eax, dword [esi + 0x130]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0x13e]
mov dword [edi + 0xc], eax
movzx eax, word [esi + 0x13c]
mov word [edi + 0x10], ax
add edi, 0x12
push ebx
push edi
call fcn.004d0630
add esp, 8
cmp dword [0x6633b4], 3
jl 0x4327cd
push edi
push str._INFO__got_next_folder:__s_n
call fcn.00401220
add esp, 8
cmp byte [esi + 0x13a], 0
je 0x432809
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x130]
mov eax, dword [eax + 4]
test eax, eax
je 0x432830
mov dword [esi + 0x130], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c0e60
mov ecx, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004328c0
mov dword [esi + 0x20], 1
movzx esi, word [esi + 0x13c]
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c0e60
mov ecx, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00432850
cmp dword [0x6633b4], 3
jl 0x43275b
push str._INFO__bug_
call fcn.004cfe43
jmp 0x432758