Function at 0x4173d0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x718
mov eax, dword [0x577094]
xor eax, esp
mov dword [esp + 0x714], eax
mov edx, dword [ebp + 0x10]
mov ecx, edx
push esi
push edi
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe8], 0
lea esi, [ecx + 2]
mov dword [esp + 0xec], 7
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 7
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417460
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040d290
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push 0
cmovae eax, dword [esp + 0x34]
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x10], esi
lea edi, [esi - 1]
cmp edi, ecx
ja 0x4174c6
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edi
cmovae ecx, dword [esp + 0x18]
mov byte [ecx + edi], 0
jmp 0x417515
mov edx, dword [esp + 0x2c]
sub edi, ecx
mov eax, edx
sub eax, ecx
cmp edi, eax
ja 0x4174ff
cmp edx, 0x10
lea esi, [esp + 0x18]
push edi
cmovae esi, dword [esp + 0x1c]
lea eax, [ecx + edi]
add esi, ecx
mov dword [esp + 0x2c], eax
push 0
push esi
call fcn.004f13c0
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [esp + 0x10]
jmp 0x417515
push 0
push edi
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
push edi
call fcn.00414300
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, dword [esp + 0x1c]
push 0
push eax
call fcn.004f13c0
add esp, 0xc
lea ecx, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x30]
cmovae ecx, dword [esp + 0x18]
cmp dword [esp + 0x44], 8
push 0
cmovae eax, dword [esp + 0x34]
push 0
push esi
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x44]
cmp ecx, 8
jb 0x41759a
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417590
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418226
push ecx
push edx
call fcn.004ef2cd
add esp, 8
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jb 0x4175b9
lea edi, [eax + edx]
lea esi, [eax + edx]
jmp 0x4175c6
lea esi, [esp + 0x18]
lea edi, [eax + ecx]
add esi, eax
lea edx, [esp + 0x18]
mov eax, esi
mov dword [esp + 0x10], edi
sub eax, edx
push eax
push 0x22
push edx
call fcn.004f1520
add esp, 0xc
mov ecx, esi
test eax, eax
cmovne ecx, eax
cmp ecx, esi
je 0x417605
lea eax, [ecx + 1]
cmp eax, esi
je 0x417605
nop dword [eax]
mov dl, byte [eax]
cmp dl, 0x22
je 0x4175fa
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jne 0x4175f0
mov edx, dword [esp + 0x28]
jmp 0x417609
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x2c], 0x10
lea esi, [esp + 0x18]
mov eax, dword [esp + 0x18]
jb 0x417631
mov esi, dword [esp + 0x10]
mov edi, ecx
sub edi, eax
sub esi, ecx
mov eax, edx
sub eax, edi
cmp eax, esi
cmovb esi, eax
mov eax, dword [esp + 0x18]
jmp 0x41764e
mov eax, ecx
sub eax, esi
mov esi, edi
mov dword [esp + 0x10], eax
sub esi, ecx
mov edi, dword [esp + 0x10]
mov eax, edx
sub eax, edi
cmp eax, esi
cmovb esi, eax
lea eax, [esp + 0x18]
sub edx, esi
lea ecx, [eax + edi]
mov dword [esp + 0x28], edx
lea eax, [ecx + esi]
sub edx, edi
inc edx
push edx
push eax
push ecx
call fcn.004f15d0
add esp, 0xc
lea edx, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0xa8]
cmovae edx, dword [esp + 0x18]
call fcn.004cb260
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0xb8]
cmovae eax, edi
push esi
push eax
lea eax, [esp + 0x140]
setae byte [esp + 0x17]
push eax
call fcn.004f0e30
add esp, 0xc
mov byte [esp + esi + 0x138], 0
cmp byte [esp + 0xf], 0
je 0x4176f8
mov ecx, dword [esp + 0xbc]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x4176ee
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edi
call fcn.004ef2cd
add esp, 8
lea ecx, [esp + 0x138]
mov dword [esp + 0x70], 0
mov dword [esp + 0x80], 0
lea edx, [ecx + 1]
mov dword [esp + 0x84], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417720
sub ecx, edx
lea eax, [esp + 0x138]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.0040d740
cmp dword [esp + 0x84], 0x10
lea edx, [esp + 0x70]
mov dword [esp + 0x30], 0
cmovae edx, dword [esp + 0x70]
mov ecx, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417770
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040d740
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae eax, dword [esp + 0x30]
push 0
push 0
push dword [esp + 0x48]
mov dword [esp + 0xcc], 0
push eax
push 0
push 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 7
call esi
mov edi, eax
xor ecx, ecx
mov edx, 2
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ef695
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
push edi
push eax
push dword [esp + 0x48]
push ecx
push 0
push 0
call esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov ecx, esi
mov word [esi + edi*2], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417814
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0xc8]
call fcn.0040bfc0
push esi
call fcn.004ef690
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, 0x10
jb 0x417870
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417866
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41822b
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x4178a9
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41789f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
cmp dword [esp + 0xd4], 8
lea esi, [esp + 0xc0]
push 0x579060
cmovae esi, dword [esp + 0xc4]
mov edx, 0x56024c
mov ecx, esi
call fcn.004cad80
add esp, 4
mov edx, 0x560260
mov ecx, esi
push 0x5790c0
call fcn.004cad80
add esp, 4
mov dword [esp + 0x90], 0
lea eax, [esp + 0x90]
mov dword [esp + 0xa0], 0
mov edx, str.deviceid
mov dword [esp + 0xa4], 7
mov ecx, esi
push eax
call fcn.004cad80
mov ecx, dword [0x579070]
mov eax, 0x7ffffffe
sub eax, ecx
add esp, 4
cmp eax, 0x17
jb 0x418230
cmp dword [0x579074], 8
mov eax, 0x579060
push 0x17
cmovae eax, dword [0x579060]
push 0x56028c
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0xc0]
call fcn.00412040
cmp dword [esp + 0xa4], 8
lea eax, [esp + 0x90]
push dword [esp + 0xa0]
cmovae eax, dword [esp + 0x94]
lea ecx, [esp + 0xac]
push eax
call fcn.0040bfc0
mov dword [esp + 0x70], 0
xor ecx, ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
movups xmm0, xmmword [eax]
push 1
push 0x560288
movups xmmword [esp + 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x88], xmm0
mov word [eax], cx
lea ecx, [esp + 0x78]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.0040bfc0
mov dword [esp + 0x110], 0
xor ecx, ecx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x120], xmm0
mov word [eax], cx
lea ecx, [esp + 0x110]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov eax, 0x5790c0
cmp dword [0x5790d4], 8
push dword [0x5790d0]
cmovae eax, dword [0x5790c0]
push eax
call fcn.0040bfc0
mov dword [esp + 0xf0], 0
xor ecx, ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
movups xmm0, xmmword [eax]
push 4
push str..log
movups xmmword [esp + 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x108], xmm0
mov word [eax], cx
lea ecx, [esp + 0xf8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.0040bfc0
mov dword [esp + 0x30], 0
lea edi, [esp + 0x30]
mov dword [esp + 0x40], 0
xor ecx, ecx
mov dword [esp + 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [esp + 0x44], 8
mov edx, dword [esp + 0x30]
jb 0x417b0b
mov edi, edx
test edi, edi
je 0x417b64
mov ecx, edi
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417b14
sub ecx, dword [esp + 0x10]
sar ecx, 1
cmp ecx, 1
jb 0x417b64
mov ecx, edi
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417b33
sub ecx, dword [esp + 0x10]
sar ecx, 1
cmp ecx, 0x100
ja 0x417b64
push edi
push 0x100
push dword [0x57bacc]
call fcn.005248eb
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov edi, dword [esp + 0x44]
cmp edi, 8
jb 0x417b9c
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417b92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418235
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp ecx, 8
jb 0x417bf5
mov edx, dword [esp + 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417beb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418235
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x124]
xor eax, eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 7
mov word [esp + 0xf0], ax
cmp ecx, 8
jb 0x417c57
mov edx, dword [esp + 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417c4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418235
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 7
mov word [esp + 0x110], ax
cmp ecx, 8
jb 0x417cb6
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418235
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0xbc]
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
cmp ecx, 8
jb 0x417d15
mov edx, dword [esp + 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417d0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418235
push ecx
push edx
call fcn.004ef2cd
add esp, 8
xor eax, eax
mov dword [esp + 0xb8], 0
push esi
mov word [esp + 0xac], ax
lea eax, [esp + 0x13]
push str.paramlist_:__S
push eax
push dword [0x57bacc]
mov dword [esp + 0xcc], 7
mov byte [esp + 0x1f], 1
call fcn.004cbaf0
lea eax, [esp + 0xe8]
mov edx, str.port
push eax
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov byte [esp + 0xf], 1
cmp dword [esp + 0xec], 8
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
push str.port_:__S
lea eax, [esp + 0x17]
push eax
push dword [0x57bacc]
call fcn.004cbaf0
lea eax, [esp + 0x68]
mov edx, str.work
push eax
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov byte [esp + 0xf], 1
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
push str.workType_:__S
lea eax, [esp + 0x17]
push eax
push dword [0x57bacc]
call fcn.004cbaf0
push 0x5790a8
mov edx, str.xlsFile
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov byte [esp + 0xf], 1
cmp dword [0x5790bc], 8
mov eax, 0x5790a8
cmovae eax, dword [0x5790a8]
push eax
push str.appDbListFile_:__S
lea eax, [esp + 0x17]
push eax
push dword [0x57bacc]
call fcn.004cbaf0
push 0x579090
mov edx, str.newMobile
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov byte [esp + 0xf], 1
cmp dword [0x5790a4], 8
mov eax, 0x579090
cmovae eax, dword [0x579090]
push eax
push str.targetDbFile_:__S
lea eax, [esp + 0x17]
push eax
push dword [0x57bacc]
call fcn.004cbaf0
push 0x579108
mov edx, 0x56034c
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov eax, 0x579108
cmp dword [0x57911c], 8
cmovae eax, dword [0x579108]
push eax
push str.PhoneOS_:__S
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 1
push eax
push dword [0x57bacc]
call fcn.004cbaf0
push 0x5790d8
mov edx, str.language
mov ecx, esi
call fcn.004cad80
add esp, 0x14
mov byte [esp + 0xf], 1
cmp dword [0x5790ec], 8
mov eax, 0x5790d8
cmovae eax, dword [0x5790d8]
push eax
push str.language_:__S
lea eax, [esp + 0x17]
push eax
push dword [0x57bacc]
call fcn.004cbaf0
mov edi, dword [0x5790ec]
add esp, 0x10
mov eax, dword [0x5790d8]
cmp edi, 8
mov esi, dword [0x5790e8]
mov ecx, 0x5790d8
cmovae ecx, eax
cmp esi, 2
jne 0x417f25
push esi
mov edx, 0x560100
call fcn.0040db00
add esp, 4
test eax, eax
jne 0x417f20
mov dword [0x577c38], 1
jmp 0x417f4d
mov eax, dword [0x5790d8]
cmp edi, 8
mov ecx, 0x5790d8
cmovae ecx, eax
cmp esi, 2
jne 0x417f4d
push esi
mov edx, 0x560388
call fcn.0040db00
add esp, 4
neg eax
sbb eax, eax
and dword [0x577c38], eax
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x68]
cmovae ecx, dword [esp + 0x58]
test eax, eax
jne 0x417f79
push eax
mov edx, 0x55e814
call fcn.0040db00
add esp, 4
test eax, eax
je 0x418037
cmp dword [esp + 0xec], 8
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
call fcn.00510fb3
add esp, 4
mov edi, eax
push str.rhsocket.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x57ba54], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.socket_start_server
push dword [0x57ba54]
call esi
push str.socket_send_msg
push dword [0x57ba54]
mov dword [0x57ba60], eax
call esi
push str.socket_send_pos
push dword [0x57ba54]
mov dword [0x57ba50], eax
call esi
push str.socket_stop_server
push dword [0x57ba54]
call esi
push str.socket_send_reportflag
push dword [0x57ba54]
mov dword [0x57ba5c], eax
call esi
push 0x57ba41
mov dword [0x57ba58], eax
mov eax, dword [0x57ba60]
push edi
call eax
test eax, eax
je 0x41803e
push 1
call dword [0x57ba58]
call dword [0x57ba5c]
push dword [0x57ba54]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, 1
jmp 0x41806e
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x68]
cmovae ecx, dword [esp + 0x58]
cmp eax, 8
jne 0x41806c
push eax
mov edx, str.Analysis
call fcn.0040db00
add esp, 4
test eax, eax
jne 0x41806c
call fcn.00418240
xor esi, esi
mov ecx, dword [esp + 0xa4]
cmp ecx, 8
jb 0x4180b0
mov edx, dword [esp + 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4180a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0xd4]
xor eax, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 7
mov word [esp + 0x90], ax
cmp ecx, 8
jb 0x418112
mov edx, dword [esp + 0xc0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418108
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 7
mov word [esp + 0xc0], ax
cmp ecx, 0x10
jb 0x418168
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41815e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
cmp ecx, 8
jb 0x4181b9
mov edx, dword [esp + 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4181af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0xec]
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
cmp ecx, 8
jb 0x41820e
mov edx, dword [esp + 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418204
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41823a
push ecx
push edx
call fcn.004ef2cd
add esp, 8
mov ecx, dword [esp + 0x71c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004eedbd
mov esp, ebp
pop ebp
ret 0x10
call fcn.0050f570
call fcn.0050f570
call fcn.00403690
call fcn.0050f570
call fcn.0050f570
int3