Function at 0x4a5ee0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4f6680
push eax
mov eax, 0x6c0c
mov dword fs:[0], esp
call fcn.004ded50
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x27c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x27c]
push 0x104
push eax
push 0x9d09
call fcn.00432b50
push 0x82000
call fcn.004de48f
mov edi, eax
mov ecx, 0x20800
xor eax, eax
mov dword [esp + 0x38], edi
rep stosd dword es:[edi], eax
mov ecx, 0x1964
lea edi, [esp + 0x69c]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
push 0x104
push ecx
push 0x9f20
call fcn.00432b50
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x6ac]
push 0x5162d8
push eax
call esi
mov ecx, dword [str..qmv_.ape_.rmvb_.mov_.amv_.avi_.mpg_.mpeg_.mpe_.3gp_.mp4_.flv_._mv_.wm_.swf_.csf_.ts_.tp_.mkv_.dat_.vob_.qt_.ram_.wav_.wmv_.asf_.rm_.3gp2_.3gpp_.mkv_.au_.flac_.ra_.m4a_.mpga_.wma_.mp3_.midi_.ac3_.aac_.ogg_.mid_.bmp_.gif_.png_.jpg_.tif_.jpeg_.jpe_]
lea edi, [esp + eax*2 + 0x6b6]
push ecx
push 0x5162d8
push edi
call esi
lea edx, [esp + 0xa8]
push 0x104
push edx
push 0x9d0a
lea edi, [edi + eax*2 + 2]
call fcn.00432b50
add esp, 0x40
lea eax, [esp + 0x74]
push eax
push 0x5162d8
push edi
call esi
mov ecx, dword [str..qmv_.m4v_.f4v_.tim_.swf_.csf_.scm_.ts_.tp_.mkv_.dat_.vob_.qt_.ram_.wav_.wmv_.asf_.rm_.rmvb_.mov_.avi_.mpg_.mpeg_.mpe_.3gp_.mp2_.mp4_.flv_._mv_.wm_.rp_.rpm_.rt_.rsc_.3gp2_.3gpp_.acc_.aif_.aifc_.aiff_.asx_.bik_.flc_.roq_.d2v_.dsa_.dss_.dsv_.m1v_.m2p_.m2v_.m4b_.mkv_.mod_.ogm_.pmp_.pm2_.pss_.m4p_.mv_.m2ts_.evo_.3g2_.wmp_.wm_.ivf_.rmm_.mjp_.pva_.rat_.dvd_.smk_.tpr_.vg2_.vid_.vp6_.vp7_.amv_.fli_.pmp2_.mts_.drc]
lea edi, [edi + eax*2 + 2]
push ecx
push 0x5162d8
push edi
call esi
lea ebp, [edi + eax*2 + 2]
lea edx, [esp + 0x8c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x8c]
push 0x104
push edx
push 0x9d0b
rep stosd dword es:[edi], eax
call fcn.00432b50
lea eax, [esp + 0x98]
push eax
push 0x5162d8
push ebp
call esi
mov ecx, dword [str..smv_.spx_.au_.flac_.ra_.amr_.m4a_.mpga_.mp5_.dsm_.mpa_.mac_.dts_.mpga_.wma_.mp3_.midi_.ac3_.aac_.ogg_.mid_.ape_.cda_.rmi_.tta_.tta]
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x5162d8
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0xb0]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xb0]
push 0x104
push edx
push 0x9d0c
rep stosd dword es:[edi], eax
call fcn.00432b50
add esp, 0x48
lea eax, [esp + 0x74]
push eax
push 0x5162d8
push ebp
call esi
mov ecx, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x5162d8
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0x8c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x8c]
push 0x104
push edx
push 0x9d10
rep stosd dword es:[edi], eax
call fcn.00432b50
lea eax, [esp + 0x98]
push eax
push 0x5162d8
push ebp
call esi
mov ecx, dword [str..wpl_.m3u_.ttpl_.qpl_.cue_.wmx_.wvx_.smil_.asx]
lea ebp, [ebp + eax*2 + 2]
push ecx
push 0x5162d8
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
lea edx, [esp + 0xb0]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xb0]
push 0x104
push edx
push 0x9d0d
rep stosd dword es:[edi], eax
call fcn.00432b50
add esp, 0x48
lea eax, [esp + 0x74]
push eax
push 0x5162d8
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
push 0x51a41c
push ebp
call esi
mov ecx, dword [esp + 0x3c]
push 0x81a00
push 0x41000
lea edx, [esp + 0x6a8]
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x29c]
push edx
push eax
push ecx
call fcn.004a89d0
add esp, 0x2c
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x4a6a2b
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4a6a46
mov esi, dword [esp + 0x28]
mov edx, dword [0x50d0e0]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x18], edx
test esi, esi
je 0x4a61c4
mov eax, esi
shr eax, 0x10
jne 0x4a6190
and esi, 0xffff
lea ecx, [esp + 0x18]
push esi
call fcn.00407b60
jmp 0x4a61c4
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4a61c4
push edi
lea ecx, [esp + 0x1c]
call fcn.00402190
test eax, eax
je 0x4a61c4
lea ecx, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, ecx
jb 0x4a61c4
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push 4
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c2c], 0
call fcn.004071a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c24], 1
call fcn.00408c00
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov esi, dword [str..wpl_.m3u_.ttpl_.qpl_.cue_.wmx_.wvx_.smil_.asx]
mov eax, dword [0x50d0e0]
test esi, esi
mov dword [esp + 0x1c], eax
je 0x4a625b
mov ecx, esi
shr ecx, 0x10
jne 0x4a6227
and esi, 0xffff
lea ecx, [esp + 0x1c]
push esi
call fcn.00407b60
jmp 0x4a625b
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4a625b
push edi
lea ecx, [esp + 0x20]
call fcn.00402190
test eax, eax
je 0x4a625b
lea ecx, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, ecx
jb 0x4a625b
mov edi, dword [esp + 0x1c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c2c], 2
call fcn.00414af0
test eax, eax
jl 0x4a632e
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0040bd90
mov ecx, ebx
call fcn.004a29d0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x50d0e4]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a62c6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a62c6
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a62f1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a62f1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6a24
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a6a24
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, 1
jmp 0x4a6a48
lea ecx, [esp + 0x38]
call fcn.00427790
mov ecx, dword [ebx + 0x10c]
lea eax, [esp + 0x34]
push 0
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x6c30], 3
call fcn.004a9f10
test eax, eax
jne 0x4a63fe
mov eax, dword [esp + 0x38]
mov byte [esp + 0x6c24], 2
test eax, eax
je 0x4a6372
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x50d0e4]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a63a3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a63a3
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a63ce
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a63ce
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6a46
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a6a46
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
jmp 0x4a6a3e
mov eax, dword [ebx + 0xc8]
xor edi, edi
push edi
push edi
mov eax, dword [eax + 4]
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov eax, dword [esp + 0x6c2c]
cmp eax, 0x127
jne 0x4a6614
lea ecx, [esp + 0x40]
call fcn.00427790
lea ecx, [esp + 0x10]
call fcn.00427790
push str.item
lea ecx, [esp + 0x48]
mov word [esp + 0x48], di
call fcn.00406940
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
push str.selectNodes
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c30], 6
call fcn.004080f0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x6c24], 5
push eax
call esi
mov eax, dword [esp + 0x34]
cmp eax, edi
mov eax, dword [esp + 0x10]
jl 0x4a64a7
cmp eax, edi
je 0x4a64a7
push eax
lea ecx, [esp + 0x44]
call fcn.004080d0
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x6c24], 4
je 0x4a64b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], edi
mov word [esp + 0x44], di
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
push edx
push str.length
mov byte [esp + 0x6c2c], 7
call fcn.00469ae0
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x4a64f5
cmp word [esp + 0x44], 3
jne 0x4a64f5
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c24], 4
push ecx
call esi
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x4a65f0
lea ecx, [esp + 0x48]
call fcn.00427790
xor ebp, ebp
test edi, edi
jl 0x4a65d2
lea ecx, [esp + 0x10]
call fcn.00427790
mov word [esp + 0x54], 3
mov dword [esp + 0x5c], edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
push edx
push eax
push str.item
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c30], 0xa
call fcn.004080f0
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], eax
push ecx
mov byte [esp + 0x6c28], 9
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x4a658b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a658b
push eax
lea ecx, [esp + 0x4c]
call fcn.004080d0
mov ebp, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c24], 8
call fcn.0042ca10
test ebp, ebp
je 0x4a65d2
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x64]
push edx
call fcn.0046d400
push 0
push eax
push str.removeChild
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c30], 0xb
call fcn.00406990
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c24], 4
call fcn.0042ca10
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x4a6512
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ecx]
call dword [edx + 8]
xor ebp, ebp
lea ecx, [esp + 0x40]
mov dword [ebx + 0x110], ebp
mov byte [esp + 0x6c24], 3
call fcn.0042ca10
mov esi, dword [esp + 0x2c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x484]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
lea eax, [esi - 1]
push eax
lea ecx, [esp + 0x488]
push edi
push ecx
call fcn.004df950
mov eax, dword [ebx + 0x120]
mov edx, dword [ebx + 0x11c]
lea ecx, [ebx + 0x118]
add esp, 0xc
push eax
push edx
call fcn.004bdfc0
mov edx, dword [0x50d0e0]
lea edi, [edi + esi*2]
mov dword [esp + 0x14], edx
or esi, 0xffffffff
cmp word [edi], 0
mov byte [esp + 0x6c24], 0xc
mov dword [esp + 0x24], esi
je 0x4a67b0
mov esi, dword [ebx + 0xc8]
push 0
push 0x50e448
push 0
push ebp
mov ecx, esi
call fcn.00473300
mov ebp, eax
mov eax, dword [esi + 0x18]
push eax
push ebp
mov ecx, esi
call fcn.0048ae60
mov ecx, dword [esi + 0x18]
push 0
push 0
push 0
push 0
inc ecx
push edi
push 1
mov dword [esi + 0x18], ecx
mov ecx, dword [ebx + 0xc8]
push 1
push ebp
call fcn.0048b100
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x30], ecx
or esi, 0xffffffff
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c24], 0xd
mov dword [esp + 0x2c], esi
call fcn.00406cd0
lea edx, [esp + 0x484]
push edi
push edx
lea eax, [esp + 0x38]
push 0x51736c
push eax
mov byte [esp + 0x6c34], 0xe
mov dword [esp + 0x3c], ebp
call fcn.004074f0
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, esi
jne 0x4a676c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
je 0x4a6768
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4a6736
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a673d
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4a674d
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004021f0
jmp 0x4a6768
lea ecx, [esp + 0x14]
call fcn.00402350
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x24], ebp
mov eax, dword [ebx + 0x120]
lea ecx, [ebx + 0x118]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004bde30
push edi
call fcn.004debba
add esp, 4
lea ecx, [esp + 0x30]
lea edi, [edi + eax*2 + 2]
inc ebp
mov byte [esp + 0x6c24], 0xc
call fcn.00402160
cmp word [edi], 0
jne 0x4a6680
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x128]
mov dword [ebx + 0x114], 1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
push ebx
push edi
push fcn.004a70f0
call fcn.004df750
mov eax, dword [esp + 0x6c3c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
cmp eax, edi
je 0x4a6951
cmp dword [ebx + 0x14], edi
je 0x4a6951
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, edi
jl 0x4a6811
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4a6825
mov edx, dword [0x50d0e0]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00406e00
mov dword [0x5258e8], edi
mov dword [0x5258e4], edi
mov dword [0x525840], 1
mov eax, dword [ebx + 0x10c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c24], 0xf
mov dword [0x525844], eax
mov dword [0x525848], esi
call fcn.00408c00
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
push edi
push 0x50fcec
lea ecx, [esp + 0x18]
call fcn.00414af0
test eax, eax
jle 0x4a6891
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x51
mov edx, dword [ecx]
push 0x574
jmp 0x4a691c
push edi
push str.ftp:__
lea ecx, [esp + 0x18]
call fcn.00414af0
test eax, eax
jle 0x4a68b7
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x52
mov edx, dword [ecx]
push 0x574
jmp 0x4a691c
push edi
push str.rtsp:__
lea ecx, [esp + 0x18]
call fcn.00414af0
test eax, eax
jle 0x4a68dd
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push 0x53
mov edx, dword [ecx]
push 0x574
jmp 0x4a691c
push edi
push str.mms:__
lea ecx, [esp + 0x18]
call fcn.00414af0
mov ecx, dword [ebx + 0x14]
test eax, eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
jle 0x4a6903
push 0x54
push 0x574
jmp 0x4a691c
push 0x10
push 0x574
call dword [edx]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x14]
push eax
push edi
mov edx, dword [ecx]
push 0x57b
call dword [edx]
push esi
mov ecx, ebx
call fcn.004b2ae0
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6951
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a6951
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a697c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a697c
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x38]
mov byte [esp + 0x6c24], 2
cmp eax, edi
je 0x4a6992
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x50d0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a69bd
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a69bd
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a69e8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a69e8
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a6a13
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4a6a13
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4a6a24
push eax
call fcn.004de3a6
add esp, 4
mov eax, 1
jmp 0x4a6a48
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x114], 0
test eax, eax
je 0x4a6a46
push eax
call fcn.004de3a6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x6c1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c18
ret 8