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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c5]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x1cc], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0xbd]
push ebx
push eax
mov byte [esp + 0xc4], bl
call fcn.00401f80
add esp, 0xc
push 0x4c
lea eax, [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x74], ebx
call fcn.00401f80
add esp, 0xc
call fcn.00461deb
test eax, eax
je 0x479c57
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
call fcn.004ab345
test eax, eax
je 0x479c65
push 0x1b
pop esi
jmp 0x479c76
call fcn.004ac065
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xa
add esi, 0xc
call fcn.0041df75
mov ecx, eax
sub ecx, dword [0x6041cc]
mov dword [esp + 0x20], eax
mov eax, 0x999
cmp ecx, 0x1388
jae 0x479d23
cmp dword [esp + 0x1c], eax
je 0x479d23
mov eax, dword [0x604334]
inc dword [0x60422c]
inc eax
mov dword [0x604334], eax
cmp eax, 0x16
jl 0x479cbf
xor eax, eax
mov dword [0x604334], eax
mov ecx, dword [ebp + 0xc]
mov dword [eax*4 + 0x604680], ecx
cmp edi, ebx
je 0x479d02
push edi
mov ecx, 0x104
lea eax, [esp + 0xbc]
call fcn.00444961
pop ecx
mov esi, eax
call fcn.00444789
mov eax, esi
push eax
mov eax, dword [0x604334]
imul eax, eax, 7
push 7
add eax, 0x6046e0
pop ecx
call fcn.00444961
pop ecx
jmp 0x479d0f
imul eax, eax, 7
add eax, 0x6046e0
call fcn.004449db
call fcn.0041df75
mov ecx, dword [0x604334]
mov dword [ecx*4 + 0x604788], eax
jmp 0x479d49
cmp dword [0x60422c], esi
jl 0x479d39
cmp dword [0x50a91c], ebx
je 0x479d39
mov dword [0x50a91c], ebx
cmp dword [esp + 0x1c], eax
je 0x479c3f
mov dword [0x60422c], ebx
mov eax, dword [esp + 0x20]
mov dword [0x6041cc], eax
call fcn.004abcbb
mov esi, 0x4e20
test eax, eax
je 0x479d67
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x1c], ebx
je 0x479c3f
mov dword [esp + 0x10], ebx
cmp dword [0x604104], ebx
je 0x479dc0
push str._nWaiting_for_local_lock_function...
call fcn.004769aa
pop ecx
jmp 0x479dad
cmp dword [esp + 0x10], ebx
jne 0x479d99
call fcn.0041df75
mov dword [esp + 0x10], eax
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, esi
ja 0x479db5
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x604104], ebx
jne 0x479d8a
push str.Done.
call fcn.004769aa
pop ecx
push dword [esp + 0x1c]
xor ebx, ebx
mov dword [0x604104], 1
call fcn.0047449c
pop ecx
test eax, eax
je 0x479c42
mov eax, dword [esp + 0x1c]
cmp eax, 0x20
jne 0x479dee
mov esi, 0x7d00
jmp 0x479e1d
cmp eax, 4
jne 0x479dfa
mov esi, 0x55f0
jmp 0x479e1d
cmp eax, 8
je 0x479e1d
cmp eax, 0x10
jne 0x479e18
call fcn.004ac065
neg eax
sbb esi, esi
mov eax, 0x3a98
and esi, eax
add esi, eax
jmp 0x479e1d
mov esi, 0x3a98
mov dword [esp + 0x14], esi
call fcn.004ac065
test eax, eax
je 0x479e31
lea eax, [esi + esi]
mov dword [esp + 0x14], eax
xor ebx, ebx
push ebx
lea edi, [esp + 0x1c4]
call fcn.0047480c
pop ecx
mov esi, 0x1e61
push esi
mov ecx, edi
call fcn.004a12d9
pop ecx
test eax, eax
jne 0x479e68
push esi
mov ecx, edi
call fcn.004a1173
mov dword [esp], 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
call fcn.004449db
push dword [esp + 0x18]
mov ecx, 0x104
call fcn.00444961
pop ecx
mov esi, eax
call fcn.00444789
mov eax, esi
push eax
push 0x40
pop ecx
lea eax, [esp + 0x78]
call fcn.00444961
mov dword [esp], 0x2635
push str.Network.c
push str.LockTAMSServerID_sub
lea eax, [esp + 0x74]
push eax
push 0x479a17
xor ecx, ecx
call fcn.004a0fc9
push 1
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x74], ebx
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x479fea
mov ebx, 0x12c
lea esi, [ebx - 0x32]
cmp dword [esp + 0x10], 0
jne 0x479f0f
call fcn.0041df75
mov dword [esp + 0x10], eax
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
js 0x479f40
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x479f40
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
push edx
jmp 0x479f42
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], 0
jne 0x479f65
push str._n_nWaiting_to_lock_server:_______________rWaiting_to_lock_server:_
call fcn.004769aa
pop ecx
call fcn.0041df75
mov dword [esp + 0x18], eax
jmp 0x479f99
mov eax, dword [esp + 0x14]
push 0xc
xor edx, edx
pop ecx
div ecx
mov edi, eax
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, edi
jbe 0x479f99
cmp dword [esp + 0x20], 0xc
jae 0x479f95
push 0x4cc910
call fcn.004769aa
inc dword [esp + 0x24]
pop ecx
add dword [esp + 0x18], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x479fbf
push 1
push dword [esp + 0x20]
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
jne 0x479eff
jmp 0x479fea
cmp dword [esp + 0x1c], 4
mov dword [esp + 0x6c], 1
jne 0x479fea
call fcn.0041df75
sub eax, dword [0x60443c]
cmp eax, 0xea60
jb 0x479fea
call fcn.0041df75
mov dword [0x60443c], eax
cmp dword [esp + 0x10], 0
je 0x47a02d
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x8ae
jbe 0x47a02d
call fcn.004ac065
test eax, eax
je 0x47a02d
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x27ee
jbe 0x47a02d
cmp dword [esp + 0x1c], 0x20
je 0x47a028
cmp dword [esp + 0x1c], 4
jne 0x47a02d
call fcn.0041df75
xor edi, edi
inc edi
mov dword [esp + 0x70], edi
call fcn.0041df75
mov esi, dword [esp + 0x28]
and dword [esp + 0x24], 0
mov ebx, eax
test esi, esi
je 0x47a0aa
cmp dword [esp + 0x10], 0
jne 0x47a058
call fcn.0041df75
mov dword [esp + 0x10], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x47a080
cmp dword [esp + 0x24], 0x103
jne 0x47a0a2
call fcn.0041df75
sub eax, ebx
cmp eax, 0x2710
ja 0x47a08e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x24]
push eax
push esi
call edi
test eax, eax
jne 0x47a060
jmp 0x47a093
and dword [esp + 0x24], 0
cmp dword [esp + 0x24], 0x103
jne 0x47a0a2
and dword [esp + 0x24], 0
call fcn.0049ff62
xor edi, edi
inc edi
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x47a0c5
call fcn.0041df75
sub eax, ebx
cmp eax, 0x8ae
jbe 0x47a0c5
call fcn.004ac065
cmp dword [esp + 0x18], esi
jbe 0x47a0d6
push str._r________________________________________r
call fcn.004769aa
pop ecx
cmp dword [esp + 0x24], esi
jne 0x47a0ea
xor eax, eax
and dword [0x604104], 0
jmp 0x479c42
cmp dword [esp + 0x1c], 0xff
jne 0x47a34f
cmp dword [esp + 0x6c], esi
jne 0x47a34f
xor ebx, ebx
push 0x38
lea eax, [esp + 0x34]
push ebx
push eax
mov dword [esp + 0x38], ebx
call fcn.00401f80
add esp, 0xc
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x10], ebx
jne 0x47a131
call fcn.0041df75
mov dword [esp + 0x10], eax
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x2c], ebx
jne 0x47a16f
push ebx
push edi
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a150
mov esi, edi
jmp 0x47a154
mov dword [esp + 0x2c], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x30], ebx
jne 0x47a1a6
push ebx
push 2
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a187
mov esi, edi
jmp 0x47a18b
mov dword [esp + 0x30], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x34], ebx
jne 0x47a1dd
push ebx
push 4
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a1be
mov esi, edi
jmp 0x47a1c2
mov dword [esp + 0x34], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x38], ebx
jne 0x47a214
push ebx
push 8
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a1f5
mov esi, edi
jmp 0x47a1f9
mov dword [esp + 0x38], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x3c], ebx
jne 0x47a24b
push ebx
push 0x10
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a22c
mov esi, edi
jmp 0x47a230
mov dword [esp + 0x3c], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x40], ebx
jne 0x47a27e
push ebx
push 0x20
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a263
mov esi, edi
jmp 0x47a267
mov dword [esp + 0x40], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x44], ebx
jne 0x47a2b1
push ebx
push 0x40
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a296
mov esi, edi
jmp 0x47a29a
mov dword [esp + 0x44], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
jne 0x47a2e7
cmp dword [esp + 0x48], ebx
jne 0x47a34f
push ebx
push pe_nt_image_headers32
call fcn.004761fa
pop ecx
pop ecx
test eax, eax
je 0x47a2d0
mov esi, edi
jmp 0x47a2d4
mov dword [esp + 0x48], edi
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jae 0x47a34f
cmp esi, ebx
je 0x47a34f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], ebx
jne 0x47a30e
push str._nWaiting_to_lock_server:_______________rWaiting_to_lock_server:_
call fcn.004769aa
pop ecx
call fcn.0041df75
mov dword [esp + 0x18], eax
jmp 0x47a33c
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x3e8
jbe 0x47a33c
cmp dword [esp + 0x20], 0xc
jae 0x47a334
push 0x4cc910
call fcn.004769aa
inc dword [esp + 0x24]
pop ecx
add dword [esp + 0x18], 0x3e8
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jb 0x47a122
mov eax, edi
jmp 0x47a0de