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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
push esi
push edi
mov dword [ebp - 0x400], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0x14
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 8], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x38], 0x32
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x30], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x34], 0x1e
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0x40], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x64], 1
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x3c], 0x32
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x74], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x84], 1
mov edx, dword [ebp + 0x18]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 0xa
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
call dword [edx + 0x14]
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 8], 0
jne 0x40489d
mov eax, 0xc8
jmp 0x405fcf
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 8]
push ecx
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov edx, dword [ebp + 0x10]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0x18]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
call sub.NLSRTL33.dll_Ordinal_172
add esp, 0x14
mov edx, dword [ebp + 0x10]
push edx
push 0x5c
lea eax, [ebp - 0x2c]
push eax
call sub.NLSRTL33.dll_Ordinal_233
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
push str.cache
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
call sub.NLSRTL33.dll_Ordinal_172
add esp, 0x14
cmp dword [ebp - 0x28], 0
je 0x404944
cmp dword [ebp - 0x18], 0
je 0x404944
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 0xb1]
mov byte [eax], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x51c], 2
jmp 0x40495d
mov eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x51c], 1
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x414], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x130]
push edx
call sub.NLSRTL33.dll_Ordinal_279
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x415888
lea edx, [ebp - 0x130]
push edx
call sub.NLSRTL33.dll_Ordinal_276
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x130]
push eax
call sub.NLSRTL33.dll_Ordinal_276
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x41588c
lea eax, [ebp - 0x130]
push eax
call sub.NLSRTL33.dll_Ordinal_276
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x415890
lea eax, [ebp - 0x130]
push eax
call sub.NLSRTL33.dll_Ordinal_276
add esp, 0x10
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_484
add esp, 0xc
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x404a58
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_487
add esp, 8
test eax, eax
je 0x404a45
mov eax, 0xb5
jmp 0x405fcf
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_345
add esp, 4
xor eax, eax
jmp 0x405fcf
push 0x1000
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
call dword [edx + 0x14]
add esp, 8
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x134], 0
mov eax, 1
test eax, eax
je 0x404b60
lea ecx, [ebp - 0x408]
push ecx
push 1
push 0xffe
mov edx, dword [ebp - 0x400]
add edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_492
add esp, 0x18
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x90801008
jne 0x404af8
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_485
add esp, 8
mov ecx, dword [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x18]
add esp, 8
mov eax, 0xb5
jmp 0x405fcf
cmp dword [ebp - 0x138], 0x90801001
jne 0x404b06
jmp 0x404b60
cmp dword [ebp - 0x138], 0
jne 0x404b49
cmp dword [ebp - 0x408], 0xffe
jb 0x404b49
mov ecx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x134]
lea eax, [edx + ecx + 0x1000]
push eax
mov ecx, dword [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x1c]
add esp, 0xc
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x134]
add ecx, dword [ebp - 0x408]
mov dword [ebp - 0x134], ecx
jmp 0x404a7a
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_485
add esp, 8
mov ecx, dword [ebp - 0x400]
add ecx, dword [ebp - 0x134]
mov byte [ecx], 0
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x400]
push edx
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x404d6b
cmp dword [ebp - 0x2c], 0
je 0x404bc2
mov dword [ebp - 0x520], 1
jmp 0x404c1a
cmp dword [ebp - 0x28], 0
je 0x404bd9
xor edx, edx
cmp dword [ebp - 0x18], 0
sete dl
mov dword [ebp - 0x524], edx
jmp 0x404c0e
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x104]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp - 0x20]
add ecx, dword [edx]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [eax]
xor eax, eax
mov ax, word [ecx + edx*2]
and eax, 3
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0x520], ecx
cmp dword [ebp - 0x520], 0
je 0x404c3a
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx]
xor ecx, ecx
cmp eax, 0xa
sete cl
mov dword [ebp - 0x528], ecx
jmp 0x404c44
mov dword [ebp - 0x528], 0
cmp dword [ebp - 0x528], 0
jne 0x404cee
cmp dword [ebp - 0x2c], 0
je 0x404c63
mov dword [ebp - 0x52c], 1
jmp 0x404cbb
cmp dword [ebp - 0x28], 0
je 0x404c7a
xor edx, edx
cmp dword [ebp - 0x18], 0
sete dl
mov dword [ebp - 0x530], edx
jmp 0x404caf
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x104]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp - 0x20]
add ecx, dword [edx]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [eax]
xor eax, eax
mov ax, word [ecx + edx*2]
and eax, 3
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x530]
mov dword [ebp - 0x52c], ecx
cmp dword [ebp - 0x52c], 0
je 0x404cdb
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx]
xor ecx, ecx
cmp eax, 0xd
sete cl
mov dword [ebp - 0x534], ecx
jmp 0x404ce5
mov dword [ebp - 0x534], 0
cmp dword [ebp - 0x534], 0
je 0x404d02
mov edx, dword [ebp + 0x10]
push edx
push 0x20
lea eax, [ebp - 0x2c]
push eax
call sub.NLSRTL33.dll_Ordinal_233
add esp, 0xc
jmp 0x404d66
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jae 0x404d53
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
and eax, 0x10
test eax, eax
je 0x404d2f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x538], 1
jmp 0x404d45
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call sub.NLSRTL33.dll_Ordinal_224
add esp, 8
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp - 0x538]
mov dword [ebp - 0x53c], ecx
jmp 0x404d66
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x53c], 0
jmp 0x404ba1
cmp dword [ebp - 0x28], 0
je 0x404db0
cmp dword [ebp - 0x18], 0
je 0x404db0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 0xb1]
mov byte [eax], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x540], 2
jmp 0x404dc9
mov eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x540], 1
push 0x2bc
push 0
lea edx, [ebp - 0x3fc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x404], 0
jmp 0x404dfa
mov eax, dword [ebp - 0x404]
add eax, 1
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0x19
jge 0x404e22
mov ecx, dword [ebp - 0x404]
imul ecx, ecx, 0x1c
lea edx, [ebp + ecx - 0x3fc]
mov eax, dword [ebp - 0x404]
mov dword [ebp + eax*4 - 0x484], edx
jmp 0x404deb
mov dword [ebp - 0x3f4], str.identifier
mov word [ebp - 0x3e4], 1
mov dword [ebp - 0x3d8], str.maxconnect
mov word [ebp - 0x3c8], 0x102
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x3dc], 0x7fff
mov dword [ebp - 0x3bc], str.sourcedir
mov word [ebp - 0x3ac], 1
mov dword [ebp - 0x3a0], 0x4158b8
mov word [ebp - 0x390], 1
mov dword [ebp - 0x384], str.tempdir
mov word [ebp - 0x374], 1
mov dword [ebp - 0x368], str.cachesize
mov word [ebp - 0x358], 0x102
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0x7fff
mov dword [ebp - 0x34c], 0x4158d8
mov word [ebp - 0x33c], 0x102
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0x7fff
mov dword [ebp - 0x330], 0x4158e4
mov word [ebp - 0x320], 0x102
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0x7fff
mov dword [ebp - 0x314], 0x4158f0
mov word [ebp - 0x304], 0x102
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0x7fff
mov dword [ebp - 0x2f8], str.maxidle
mov word [ebp - 0x2e8], 0x102
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0x7fff
mov dword [ebp - 0x2dc], str.security
mov word [ebp - 0x2cc], 0x102
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 3
mov dword [ebp - 0x2c0], str.englife
mov word [ebp - 0x2b0], 0x102
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0x7fff
mov dword [ebp - 0x2a4], str.mailprofile
mov word [ebp - 0x294], 1
mov dword [ebp - 0x288], str.succnotefile
mov word [ebp - 0x278], 1
mov dword [ebp - 0x26c], str.failnotefile
mov word [ebp - 0x25c], 1
mov dword [ebp - 0x250], str.logoption
mov word [ebp - 0x240], 1
mov dword [ebp - 0x234], str.securitytnsname
mov word [ebp - 0x224], 1
mov dword [ebp - 0x218], str.portaluserid
mov word [ebp - 0x208], 1
mov dword [ebp - 0x1fc], str.clusterconfig
mov word [ebp - 0x1ec], 1
mov dword [ebp - 0x1e0], str.persistfile
mov word [ebp - 0x1d0], 1
mov dword [ebp - 0x1c4], str.repositoryconn
mov word [ebp - 0x1b4], 1
mov dword [ebp - 0x1a8], str.nlssupport
mov word [ebp - 0x198], 1
mov dword [ebp - 0x18c], str.traceoption
mov word [ebp - 0x17c], 1
mov dword [ebp - 0x170], str.ignoreparameter
mov word [ebp - 0x160], 1
mov dword [ebp - 0x154], str.keepconnection
mov word [ebp - 0x144], 1
lea ecx, [ebp - 0x484]
push ecx
push 0x19
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_92
add esp, 0xc
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x4050cb
mov eax, 0xc8
jmp 0x405fcf
push 0
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_5
add esp, 0x10
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x405119
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
call dword [edx + 0x18]
add esp, 8
mov dword [ebp - 0x420], 0xb5
jmp 0x405ee3
mov dword [ebp - 0x420], 0
cmp dword [ebp - 0x3e8], 0
je 0x405197
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405197
mov edx, dword [ebp - 0x3e8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 0x20
je 0x40517f
mov dword [ebp - 0x420], 0xb5
jmp 0x405ee3
push 0x20
mov edx, dword [ebp - 0x48c]
push edx
mov eax, dword [ebp + 0x1c]
add eax, 0x40
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x3cc], 0
je 0x4051f0
mov ecx, dword [ebp - 0x3cc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4051f0
mov eax, dword [ebp - 0x3cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 2
jae 0x4051f0
mov dword [ebp - 0x420], 0xb8
jmp 0x405ee3
cmp dword [ebp - 0x3b0], 0
je 0x405255
mov ecx, dword [ebp - 0x3b0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405255
mov eax, dword [ebp - 0x3b0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405255
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405255
push 0
mov ecx, dword [ebp - 0x3b0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
cmp dword [ebp - 0x394], 0
je 0x4052ce
mov edx, dword [ebp - 0x394]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4052ce
mov ecx, dword [ebp - 0x394]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4052ce
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x4052ce
push 0
mov edx, dword [ebp - 0x394]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
call dword [ecx + 0x18]
add esp, 8
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
cmp dword [ebp - 0x378], 0
je 0x405333
mov ecx, dword [ebp - 0x378]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405333
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405333
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405333
push 0
mov ecx, dword [ebp - 0x378]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
cmp dword [ebp - 0x35c], 0
je 0x405376
mov edx, dword [ebp - 0x35c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405376
mov ecx, dword [ebp - 0x35c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x38], eax
cmp dword [ebp - 0x340], 0
je 0x405412
mov edx, dword [ebp - 0x340]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405412
mov ecx, dword [ebp - 0x340]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax]
jb 0x4053d9
mov dword [ebp - 0x420], 0xb9
jmp 0x405ee3
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x28], 1
jbe 0x4053f0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x544], ecx
jmp 0x4053fa
mov dword [ebp - 0x544], 1
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x544]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x30], eax
cmp dword [ebp - 0x324], 0
je 0x405488
mov ecx, dword [ebp - 0x324]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405488
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [eax + 0x2c]
cmp edx, dword [ecx + 0x28]
jb 0x405479
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x2c], 1
jb 0x405479
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx]
jb 0x405488
mov dword [ebp - 0x420], 0xb9
jmp 0x405ee3
cmp dword [ebp - 0x308], 0
je 0x4054f6
mov ecx, dword [ebp - 0x308]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4054f6
mov eax, dword [ebp - 0x308]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x28]
jb 0x4054e7
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x2c]
jbe 0x4054f6
mov dword [ebp - 0x420], 0xb9
jmp 0x405ee3
cmp dword [ebp - 0x2ec], 0
je 0x405539
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405539
mov edx, dword [ebp - 0x2ec]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x34], eax
cmp dword [ebp - 0x2d0], 0
je 0x40557c
mov edx, dword [ebp - 0x2d0]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x40557c
mov ecx, dword [ebp - 0x2d0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x64], eax
cmp dword [ebp - 0x2b4], 0
je 0x4055d2
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4055d2
mov ecx, dword [ebp - 0x2b4]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x3c], 0
ja 0x4055d2
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x3c], 0xc8
cmp dword [ebp - 0x298], 0
je 0x405637
mov ecx, dword [ebp - 0x298]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405637
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405637
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405637
push 0
mov ecx, dword [ebp - 0x298]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x27c], 0
je 0x40569c
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x40569c
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40569c
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x40569c
push 0
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x18], edx
cmp dword [ebp - 0x260], 0
je 0x405701
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405701
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405701
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x405701
push 0
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x1c], eax
cmp dword [ebp - 0x244], 0
je 0x4057cd
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4057cd
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4057cd
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x4057cd
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.succeededjob
mov eax, dword [ebp - 0x30]
push eax
call sub.NLSRTL33.dll_Ordinal_277
add esp, 0x10
test eax, eax
jne 0x40577d
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x20], 1
jmp 0x4057cd
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.failedjob
mov ecx, dword [ebp - 0x30]
push ecx
call sub.NLSRTL33.dll_Ordinal_277
add esp, 0x10
test eax, eax
jne 0x4057a6
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x20], 2
jmp 0x4057cd
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.alljob
mov edx, dword [ebp - 0x30]
push edx
call sub.NLSRTL33.dll_Ordinal_277
add esp, 0x10
test eax, eax
jne 0x4057cd
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x20], 3
cmp dword [ebp - 0x228], 0
je 0x405832
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405832
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405832
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405832
push 0
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x68], ecx
cmp dword [ebp - 0x20c], 0
je 0x405897
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405897
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405897
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405897
push 0
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x6c], edx
cmp dword [ebp - 0x1f0], 0
je 0x40592b
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x40592b
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40592b
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x40592b
push 0
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x74], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405fe0
add esp, 0x10
test eax, eax
je 0x40592b
mov dword [ebp - 0x420], 0xb5
jmp 0x405ee3
cmp dword [ebp - 0x1d4], 0
je 0x405990
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405990
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405990
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405990
push 0
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x10], edx
cmp dword [ebp - 0x1b8], 0
je 0x4059f5
mov eax, dword [ebp - 0x1b8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x4059f5
mov edx, dword [ebp - 0x1b8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4059f5
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x4059f5
push 0
mov eax, dword [ebp - 0x1b8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x70], eax
cmp dword [ebp - 0x19c], 0
je 0x405a5a
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405a5a
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405a5a
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405a5a
push 0
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x7c], ecx
cmp dword [ebp - 0x180], 0
je 0x405df8
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405df8
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405df8
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405df8
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x510]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.submittedjob
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405b35
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 1
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.switchengine
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405b9a
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 2
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.engineup
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405bff
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 4
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.enginedown
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405c64
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.counter
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405cc9
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 0x10
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.dispatch
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405d2e
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 0x20
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push str.portalpush
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405d93
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or ecx, 0x40
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, 0xb
lea esi, [ebp - 0x510]
lea edi, [ebp - 0x4b8]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4e4]
push edx
push 0xffffffffffffffff
push 0x415a50
call sub.NLSRTL33.dll_Ordinal_231
add esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x4e4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x4b8]
push edx
call sub.NLSRTL33.dll_Ordinal_174
add esp, 0x14
cmp eax, 0xffffffff
je 0x405df8
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x24]
or cl, 0x80
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], ecx
cmp dword [ebp - 0x164], 0
je 0x405e60
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405e60
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405e60
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x405e60
push 0
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x80], eax
cmp dword [ebp - 0x148], 0
je 0x405ee3
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_107
add esp, 8
test eax, eax
je 0x405ee3
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x405ee3
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405ee3
push 0
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_94
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x415a54
mov edx, dword [ebp - 0x30]
push edx
call sub.NLSRTL33.dll_Ordinal_277
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x84], eax
mov dword [ebp - 0x404], 0
jmp 0x405efe
mov edx, dword [ebp - 0x404]
add edx, 1
mov dword [ebp - 0x404], edx
cmp dword [ebp - 0x404], 0x19
jge 0x405fa2
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x488]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_101
add esp, 0xc
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x518], eax
cmp dword [ebp - 0x518], 0
je 0x405f9d
mov ecx, dword [ebp - 0x518]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_98
add esp, 8
mov dword [ebp - 0x514], eax
jmp 0x405f6b
mov eax, dword [ebp - 0x518]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.CA60.dll_Ordinal_106
add esp, 8
mov dword [ebp - 0x514], eax
cmp dword [ebp - 0x514], 0
je 0x405f8a
mov edx, dword [ebp - 0x514]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
call dword [ecx + 0x18]
add esp, 8
jmp 0x405f52
mov edx, dword [ebp - 0x518]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_95
add esp, 8
jmp 0x405eef
mov ecx, dword [ebp - 0x488]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.CA60.dll_Ordinal_95
add esp, 8
mov eax, dword [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
call dword [edx + 0x18]
add esp, 8
mov eax, dword [ebp - 0x420]
pop edi
pop esi
mov esp, ebp
pop ebp
ret