Function at 0x404730
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 0x40488d
mov eax, 0xc8
jmp 0x405fbf
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 0x404934
cmp dword [ebp - 0x18], 0
je 0x404934
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 0x40494d
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 0x404a48
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 0x404a35
mov eax, 0xb5
jmp 0x405fbf
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_345
add esp, 4
xor eax, eax
jmp 0x405fbf
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 0x404b50
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 0x404ae8
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 0x405fbf
cmp dword [ebp - 0x138], 0x90801001
jne 0x404af6
jmp 0x404b50
cmp dword [ebp - 0x138], 0
jne 0x404b39
cmp dword [ebp - 0x408], 0xffe
jb 0x404b39
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 0x404a6a
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 0x404d5b
cmp dword [ebp - 0x2c], 0
je 0x404bb2
mov dword [ebp - 0x520], 1
jmp 0x404c0a
cmp dword [ebp - 0x28], 0
je 0x404bc9
xor edx, edx
cmp dword [ebp - 0x18], 0
sete dl
mov dword [ebp - 0x524], edx
jmp 0x404bfe
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 0x404c2a
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 0x404c34
mov dword [ebp - 0x528], 0
cmp dword [ebp - 0x528], 0
jne 0x404cde
cmp dword [ebp - 0x2c], 0
je 0x404c53
mov dword [ebp - 0x52c], 1
jmp 0x404cab
cmp dword [ebp - 0x28], 0
je 0x404c6a
xor edx, edx
cmp dword [ebp - 0x18], 0
sete dl
mov dword [ebp - 0x530], edx
jmp 0x404c9f
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 0x404ccb
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 0x404cd5
mov dword [ebp - 0x534], 0
cmp dword [ebp - 0x534], 0
je 0x404cf2
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 0x404d56
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jae 0x404d43
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
and eax, 0x10
test eax, eax
je 0x404d1f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x538], 1
jmp 0x404d35
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 0x404d56
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x53c], 0
jmp 0x404b91
cmp dword [ebp - 0x28], 0
je 0x404da0
cmp dword [ebp - 0x18], 0
je 0x404da0
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 0x404db9
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 0x404dea
mov eax, dword [ebp - 0x404]
add eax, 1
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0x19
jge 0x404e12
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 0x404ddb
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 0x4050bb
mov eax, 0xc8
jmp 0x405fbf
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 0x405109
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 0x405ed3
mov dword [ebp - 0x420], 0
cmp dword [ebp - 0x3e8], 0
je 0x405187
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 0x405187
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 0x40516f
mov dword [ebp - 0x420], 0xb5
jmp 0x405ed3
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 0x4051e0
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 0x4051e0
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 0x4051e0
mov dword [ebp - 0x420], 0xb8
jmp 0x405ed3
cmp dword [ebp - 0x3b0], 0
je 0x405245
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 0x405245
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 0x405245
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405245
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 0x4052be
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 0x4052be
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 0x4052be
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x4052be
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 0x405323
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 0x405323
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 0x405323
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405323
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 0x405366
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 0x405366
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 0x405402
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 0x405402
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 0x4053c9
mov dword [ebp - 0x420], 0xb9
jmp 0x405ed3
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x28], 1
jbe 0x4053e0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x544], ecx
jmp 0x4053ea
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 0x405478
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 0x405478
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 0x405469
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x2c], 1
jb 0x405469
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx]
jb 0x405478
mov dword [ebp - 0x420], 0xb9
jmp 0x405ed3
cmp dword [ebp - 0x308], 0
je 0x4054e6
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 0x4054e6
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 0x4054d7
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x2c]
jbe 0x4054e6
mov dword [ebp - 0x420], 0xb9
jmp 0x405ed3
cmp dword [ebp - 0x2ec], 0
je 0x405529
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 0x405529
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 0x40556c
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 0x40556c
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 0x4055c2
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 0x4055c2
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 0x4055c2
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x3c], 0xc8
cmp dword [ebp - 0x298], 0
je 0x405627
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 0x405627
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 0x405627
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405627
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 0x40568c
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 0x40568c
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 0x40568c
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x40568c
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 0x4056f1
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 0x4056f1
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 0x4056f1
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x4056f1
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 0x4057bd
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 0x4057bd
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 0x4057bd
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x4057bd
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 0x40576d
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x20], 1
jmp 0x4057bd
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 0x405796
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x20], 2
jmp 0x4057bd
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 0x4057bd
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x20], 3
cmp dword [ebp - 0x228], 0
je 0x405822
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 0x405822
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 0x405822
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405822
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 0x405887
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 0x405887
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 0x405887
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405887
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 0x40591b
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 0x40591b
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 0x40591b
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x40591b
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.00405fd0
add esp, 0x10
test eax, eax
je 0x40591b
mov dword [ebp - 0x420], 0xb5
jmp 0x405ed3
cmp dword [ebp - 0x1d4], 0
je 0x405980
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 0x405980
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 0x405980
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405980
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 0x4059e5
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 0x4059e5
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 0x4059e5
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x4059e5
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 0x405a4a
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 0x405a4a
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 0x405a4a
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405a4a
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 0x405de8
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 0x405de8
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 0x405de8
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x405de8
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 0x405b25
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 0x405b8a
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 0x405bef
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 0x405c54
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 0x405cb9
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 0x405d1e
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 0x405d83
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 0x405de8
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 0x405e50
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 0x405e50
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 0x405e50
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x405e50
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 0x405ed3
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 0x405ed3
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 0x405ed3
mov edx, dword [ebp - 0x30]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x405ed3
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 0x405eee
mov edx, dword [ebp - 0x404]
add edx, 1
mov dword [ebp - 0x404], edx
cmp dword [ebp - 0x404], 0x19
jge 0x405f92
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 0x405f8d
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 0x405f5b
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 0x405f7a
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 0x405f42
mov edx, dword [ebp - 0x518]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.CA60.dll_Ordinal_95
add esp, 8
jmp 0x405edf
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