Function at 0x4159b0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a3291
mov eax, dword fs:[0]
push eax
mov eax, 0x2318
call fcn.00470cd0
mov eax, dword [0x4c8678]
xor eax, esp
mov dword [esp + 0x2314], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8678]
xor eax, esp
push eax
lea eax, [esp + 0x232c]
mov dword fs:[0], eax
lea eax, [ecx + 4]
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
je 0x415a07
mov al, 1
jmp 0x416862
push ebx
push 0x4af6b3
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00404300
push 0xb68
lea eax, [esp + 0x198]
push ebx
push eax
mov dword [esp + 0x2340], ebx
call fcn.004700e0
mov eax, 0x10
lea ecx, [esp + 0x24]
mov esi, 4
push ecx
mov dword [esp + 0x1aa], 0xa
mov dword [esp + 0x1ae], 0x7d0
mov dword [esp + 0x1b2], esi
mov dword [esp + 0xd04], eax
mov dword [esp + 0xd00], eax
mov byte [esp + 0xd0b], bl
mov dword [esp + 0x1ba], 0x1000
call fcn.0042d7d0
add esp, 0x10
mov ecx, dword [eax]
mov byte [esp + 0x2334], 1
call fcn.004274c0
mov word [esp + 0x198], ax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x2334], bl
je 0x415af1
mov edi, eax
add eax, esi
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x415af1
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x415af1
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
push 0x34
lea ecx, [esp + 0x12c]
push ebx
push ecx
call fcn.004700e0
mov edi, 5
mov ebp, 0x1e
mov dword [esp + 0x134], 0xa
mov dword [esp + 0x138], 0x4e20
mov dword [esp + 0x13c], edi
mov dword [esp + 0x140], ebp
mov byte [esp + 0x144], bl
mov byte [esp + 0x145], bl
mov byte [esp + 0x146], bl
mov dword [esp + 0x114], 0xf
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
push 0xc
lea edx, [esp + 0x3da]
push str.pdlxf.qq.com
push edx
mov byte [esp + 0x234c], 2
mov dword [esp + 0x1b6], 0x5dc
mov dword [esp + 0x1ba], esi
call fcn.00471550
push 0x12
lea eax, [esp + 0x4e8]
push str.fs_tcp_conn.qq.com
push eax
mov byte [esp + 0x3fa], bl
call fcn.00471550
push 0xb
lea ecx, [esp + 0x5f7]
push str.stun.qq.com
mov esi, 0x1bb
push ecx
mov byte [esp + 0x50e], bl
mov word [esp + 0x4fa], 0x1f40
mov word [esp + 0x5fc], si
call fcn.00471550
push 0x12
lea edx, [esp + 0x705]
push str.xuanfengnet.qq.com
push edx
mov byte [esp + 0x616], bl
mov word [esp + 0x70b], 0x1f40
call fcn.00471550
push 0x12
lea eax, [esp + 0x813]
push str.xuanfengnet.qq.com
push eax
mov byte [esp + 0x72b], bl
mov word [esp + 0x819], 0x1f40
call fcn.00471550
add esp, 0x48
push 0xf
lea ecx, [esp + 0x8d9]
push str.fs_hello.qq.com
push ecx
mov byte [esp + 0x7f1], bl
mov word [esp + 0x8df], 0x50
call fcn.00471550
push 0xe
lea edx, [esp + 0x9e9]
push str.fs_conn.qq.com
push edx
mov byte [esp + 0x8fc], bl
mov word [esp + 0x9ed], 0x1f40
mov word [esp + 0x9ef], si
call fcn.00471550
push 0xd
lea eax, [esp + 0xaf7]
push str.fs_h2u.qq.com
push eax
mov byte [esp + 0xa0b], bl
mov word [esp + 0xafd], si
call fcn.00471550
mov byte [esp + 0xb0c], bl
mov word [esp + 0xbff], si
push 0x10
lea ecx, [esp + 0xc05]
push str.fs_report.qq.com
push ecx
call fcn.00471550
add esp, 0x30
push 0xa
push 0x4b04b8
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbf5], bl
mov word [esp + 0xce5], si
mov dword [esp + 0x134], 0x1388
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00409bb0
lea edx, [esp + 0xd4]
push ebx
push edx
mov byte [esp + 0x233c], 3
call fcn.0043ab90
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x2340], 4
call fcn.0043aa70
push str.qqdownload_config.xml
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.0040a2a0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x12c]
push edx
mov byte [esp + 0x2358], 5
call fcn.00414360
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2340], 6
call fcn.00409ac0
cmp dword [esp + 0x124], 8
mov byte [esp + 0x2334], 5
jb 0x415db0
mov eax, dword [esp + 0x110]
push eax
call fcn.0046fbc9
add esp, 4
lea ecx, [esp + 0xcfc]
call fcn.00403ec0
mov esi, dword [esp + 0xbc]
mov ebp, 8
cmp dword [esp + 0xd0], ebp
mov byte [esp + 0x2334], 7
mov byte [esp + 0x17], 1
jae 0x415de5
lea esi, [esp + 0xbc]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], bx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415e01
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00409bb0
lea ecx, [esp + 0xd18]
call fcn.004065d0
cmp al, bl
je 0x415f50
mov esi, 7
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xd50]
push edx
mov byte [esp + 0x233c], 9
call fcn.004488b0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xd74]
push ecx
call fcn.004488b0
lea edx, [esp + 0x90]
push edx
call fcn.0043aa70
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00414360
add esp, 0x20
cmp dword [esp + 0x44], ebp
mov eax, dword [esp + 0x30]
mov byte [esp + 0x2334], 0xa
jae 0x415ec1
lea eax, [esp + 0x30]
jmp 0x415ec5
cmp eax, ebx
je 0x415eef
cmp word [eax], bx
je 0x415eef
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415eef
test al, 0x10
jne 0x415eef
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
call fcn.00409ac0
mov byte [esp + 0x17], bl
cmp dword [esp + 0x44], ebp
jb 0x415f02
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x415f22
mov edx, dword [esp + 0x4c]
push edx
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov byte [esp + 0x2334], 7
jb 0x415f50
mov eax, dword [esp + 0x84]
push eax
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x415f5e
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x10cc]
call fcn.004361a0
lea ecx, [esp + 0x1918]
push ecx
lea ecx, [esp + 0x10cc]
mov byte [esp + 0x2338], 0xb
mov word [esp + 0x191c], bx
mov dword [esp + 0x191e], ebx
mov word [esp + 0x1922], bx
call fcn.00435db0
movzx edx, word [esp + 0x191c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
add edx, 0x3e8
cmp dword [esp + 0x7c], ebp
mov dword [esi + 0x44], edx
jae 0x415fc1
lea eax, [esp + 0x68]
mov edi, dword [esp + 0x20]
push ebx
push edi
push 0x4b03d8
push 0x4b03f8
push ebx
push eax
lea eax, [esi + 8]
push eax
call fcn.00462760
add esp, 0x1c
cmp eax, ebx
jl 0x41688a
cmp dword [edi], ebx
je 0x41688a
push 0x800
lea ecx, [esp + 0x1b2c]
push ebx
push ecx
call fcn.004700e0
lea edx, [esp + 0x1b34]
push ebx
push edx
call fcn.00462530
add esp, 0x14
lea eax, [esp + 0x1b28]
push eax
lea ecx, [esp + 0x160]
call fcn.0040a260
cmp dword [esp + 0x170], ebx
mov byte [esp + 0x2334], 0xc
je 0x4160f1
lea ecx, [esp + 0x15c]
push ecx
call fcn.0043aa70
push 0x4b0474
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0040a2a0
add esp, 0x10
cmp dword [esp + 0x44], ebp
mov eax, dword [esp + 0x30]
mov byte [esp + 0x2334], 0xd
jae 0x416079
lea eax, [esp + 0x30]
push eax
call fcn.00413b20
add esp, 4
test al, al
je 0x4160e0
push 0x118
lea ecx, [esp + 0x1924]
push ebx
push ecx
call fcn.004700e0
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x1a24], 3
jae 0x4160b5
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x1928]
push eax
call fcn.00470480
mov eax, dword [edi]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x1920]
push edx
push eax
mov eax, dword [ecx + 0x100]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2334], 0xc
call fcn.0041f9a0
push ebx
call fcn.004712b1
push eax
call fcn.004707e5
mov cx, word [esi + 0x44]
add esp, 8
mov word [esp + 0xcf9], cx
mov byte [esp + 0xcfb], bl
mov dword [esp + 0x3c4], ebx
call fcn.004707f2
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esp + 0x3be], ebx
add edx, 0x7530
mov word [esp + 0x3c8], dx
call fcn.004707f2
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1a6], esi
add edx, 0x1f40
cmp eax, ebx
mov word [esp + 0x3c2], dx
je 0x41619f
cmp eax, 0x104
jb 0x416175
mov eax, 0x104
cmp dword [esp + 0xb4], 0x10
mov ecx, dword [esp + 0xa0]
jae 0x41618d
lea ecx, [esp + 0xa0]
push eax
push ecx
lea edx, [esp + 0x1be]
push edx
call fcn.00471550
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x194]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x4161d3
mov eax, dword [edi]
mov ecx, dword [eax]
push 0x34
lea edx, [esp + 0x12c]
push edx
push eax
mov eax, dword [ecx + 0xc0]
call eax
mov byte [esp + 0x16], 1
jmp 0x4161d7
mov byte [esp + 0x16], bl
cmp byte [esp + 0x17], bl
jne 0x41672c
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov byte [esp + 0x233c], 0xe
call fcn.0043ab90
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2340], 0xf
call fcn.0043aa70
mov edi, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x44], ebp
jae 0x41622c
lea edi, [esp + 0x30]
push 0x208
lea eax, [esp + 0x1924]
push ebx
push eax
call fcn.004700e0
lea eax, [esp + 0x192c]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416250
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416266
sub eax, esi
mov ecx, 0x103
sar eax, 1
sub ecx, edx
cmp ecx, eax
jae 0x4162aa
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416290
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, 0x103
sub eax, ecx
jmp 0x4162bf
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4162b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1924]
push edi
push edx
call fcn.0047150f
lea eax, [esp + 0x192c]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x4162e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4162e0
sub eax, edx
sar eax, 1
cmp eax, 0x103
jae 0x416311
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416300
sub eax, edx
sar eax, 1
jmp 0x416316
mov eax, 0x103
mov word [esp + eax*2 + 0x1920], bx
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
jmp 0x416330
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416330
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
cmp ecx, 1
jae 0x41636d
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416355
sub eax, edx
sar eax, 1
mov edx, 0x103
sub edx, eax
jmp 0x416372
mov edx, 1
lea eax, [esp + 0x1920]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416380
sub eax, esi
sar eax, 1
je 0x41641e
lea eax, [esp + 0x1920]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4163a0
sub eax, esi
sar eax, 1
cmp word [esp + eax*2 + 0x191e], 0x5c
je 0x41641e
push edx
lea edx, [esp + 0x1924]
push 0x4af774
push edx
call fcn.0047150f
lea eax, [esp + 0x192c]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4163e0
sub eax, edx
sar eax, 1
cmp eax, 0x103
jae 0x416411
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416400
sub eax, edx
sar eax, 1
jmp 0x416416
mov eax, 0x103
mov word [esp + eax*2 + 0x1920], bx
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
jmp 0x416430
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416430
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
cmp ecx, 3
jae 0x41646d
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416455
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
jmp 0x416472
mov ecx, 3
push ecx
lea edx, [esp + 0x1924]
push 0x4b046c
push edx
call fcn.0047150f
lea eax, [esp + 0x192c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416492
sub eax, edx
sar eax, 1
cmp eax, 0x103
jae 0x4164c3
lea eax, [esp + 0x1920]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4164b2
sub eax, edx
sar eax, 1
jmp 0x4164c8
mov eax, 0x103
mov word [esp + eax*2 + 0x1920], bx
lea eax, [esp + 0xe78]
push eax
lea ecx, [esp + 0x1924]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4166f2
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, 0x10
lea esp, [esp]
cmp dword [esp + 0xe78], ebp
jne 0x4165e0
lea edx, [esp + 0xea4]
push 0x4b0468
push edx
call fcn.0047147e
add esp, 8
test eax, eax
je 0x4165e0
lea eax, [esp + 0xea4]
push 0x4b0460
push eax
call fcn.0047147e
add esp, 8
test eax, eax
je 0x4165e0
lea ecx, [esp + 0xea4]
push ecx
lea ecx, [esp + 0x110]
call fcn.0040a260
push ebx
push 0x4b0450
lea ecx, [esp + 0x114]
mov byte [esp + 0x233c], 0x10
call fcn.00414120
cmp eax, 0xffffffff
je 0x4165cc
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x180]
push ecx
call fcn.00414360
lea edx, [esp + 0x184]
push edx
mov byte [esp + 0x2344], 0x11
call fcn.0043aa70
add esp, 0x10
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x84]
call fcn.00415900
lea ecx, [esp + 0x178]
call fcn.0041f9a0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2334], 0xf
call fcn.0041f9a0
lea ecx, [esp + 0xe78]
push ecx
push esi
call edi
test eax, eax
jne 0x416500
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xd50]
push eax
mov byte [esp + 0x233c], 0x12
call fcn.004488b0
lea ecx, [esp + 0x50]
push ecx
call fcn.0043aa70
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x84]
call fcn.004421e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x84]
call fcn.00414190
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
cmp edi, ebx
je 0x41666a
cmp edi, dword [esp + 0x24]
je 0x41666f
call fcn.00470037
cmp esi, ebp
je 0x4166de
cmp edi, ebx
jne 0x41667c
call fcn.00470037
cmp esi, dword [edi + 8]
jb 0x416686
call fcn.00470037
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x416695
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
mov ecx, esi
call fcn.00413f90
test eax, eax
je 0x4166cb
lea ecx, [esp + 0x18]
call fcn.0045ad50
cmp dword [eax + 0x18], 8
jb 0x4166bf
mov eax, dword [eax + 4]
jmp 0x4166c2
add eax, 4
push eax
call fcn.00438e30
add esp, 4
cmp esi, dword [edi + 8]
jb 0x4166d5
call fcn.00470037
add esi, 0x1c
mov dword [esp + 0x1c], esi
jmp 0x416660
cmp dword [esp + 0x60], 8
jb 0x4166f2
mov eax, dword [esp + 0x4c]
push eax
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x416706
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046fbc9
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.004152d0
mov edi, dword [esp + 0x20]
mov ebp, 8
cmp dword [esp + 0x174], ebp
mov byte [esp + 0x2334], 0xb
jb 0x41674d
mov edx, dword [esp + 0x160]
push edx
call fcn.0046fbc9
add esp, 4
cmp byte [esp + 0x16], bl
jne 0x416763
mov eax, dword [edi]
cmp eax, ebx
je 0x416763
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
lea ecx, [esp + 0x10c8]
mov byte [esp + 0x2334], 7
call fcn.00435e20
lea ecx, [esp + 0xcfc]
mov byte [esp + 0x2334], 5
call fcn.00403fe0
cmp dword [esp + 0xd0], ebp
jb 0x4167a4
mov eax, dword [esp + 0xbc]
push eax
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0xec], ebp
mov esi, 7
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x4167d8
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x416801
mov edx, dword [esp + 0x68]
push edx
call fcn.0046fbc9
add esp, 4
mov dword [esp + 0x7c], esi
mov esi, 0x10
cmp dword [esp + 0x108], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x41682c
mov eax, dword [esp + 0xf4]
push eax
call fcn.0046fbc9
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x41685e
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0046fbc9
add esp, 4
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x232c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2314]
xor ecx, esp
call fcn.0046fb90
add esp, 0x2324
ret
mov byte [esp + 0x16], bl
jmp 0x416753