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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov eax, dword [0x4e22e4]
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 + 0x28], 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 + 0x2c], ebx
mov dword [esp + 0x74], ebx
call fcn.00401f80
add esp, 0xc
call fcn.00454d5c
test eax, eax
je 0x46b33c
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.0041a877
mov ecx, eax
sub ecx, dword [0x5dce6c]
mov dword [esp + 0x1c], eax
mov eax, 0x999
cmp ecx, 0x1388
jae 0x46b3e9
cmp dword [esp + 0x24], eax
je 0x46b3e9
mov eax, dword [0x5dd07c]
inc dword [0x5dcf74]
inc eax
mov dword [0x5dd07c], eax
cmp eax, 0x16
jl 0x46b385
xor eax, eax
mov dword [0x5dd07c], eax
mov ecx, dword [ebp + 0xc]
mov dword [eax*4 + 0x5dd2c0], ecx
cmp edi, ebx
je 0x46b3c8
push edi
mov ecx, 0x104
lea eax, [esp + 0xbc]
call fcn.00438aa8
pop ecx
mov esi, eax
call fcn.00438922
mov eax, esi
push eax
mov eax, dword [0x5dd07c]
imul eax, eax, 7
push 7
add eax, 0x5dd320
pop ecx
call fcn.00438aa8
pop ecx
jmp 0x46b3d5
imul eax, eax, 7
add eax, 0x5dd320
call fcn.00438b22
call fcn.0041a877
mov ecx, dword [0x5dd07c]
mov dword [ecx*4 + 0x5dd3c8], eax
jmp 0x46b410
cmp dword [0x5dcf74], 0xc
jl 0x46b400
cmp dword [0x4e3918], ebx
je 0x46b400
mov dword [0x4e3918], ebx
cmp dword [esp + 0x24], eax
je 0x46b324
mov dword [0x5dcf74], ebx
mov eax, dword [esp + 0x1c]
mov dword [0x5dce6c], eax
call fcn.004953f2
mov esi, 0x4e20
test eax, eax
je 0x46b42e
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x46b324
mov dword [esp + 0x10], ebx
cmp dword [0x5dce0c], ebx
je 0x46b489
push str._nWaiting_for_local_lock_function...
call fcn.00468421
pop ecx
jmp 0x46b476
cmp dword [esp + 0x10], ebx
jne 0x46b462
call fcn.0041a877
mov dword [esp + 0x10], eax
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, esi
ja 0x46b47e
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x5dce0c], ebx
jne 0x46b453
push str.Done.
call fcn.00468421
pop ecx
push edi
xor ebx, ebx
mov dword [0x5dce0c], 1
call fcn.00465f13
pop ecx
test eax, eax
je 0x46b327
cmp edi, 0x20
jne 0x46b4b3
mov dword [esp + 0x1c], 0x7d00
jmp 0x46b4d3
cmp edi, 4
jne 0x46b4c2
mov dword [esp + 0x1c], 0x55f0
jmp 0x46b4d3
mov dword [esp + 0x1c], esi
cmp edi, 8
je 0x46b4d3
mov dword [esp + 0x1c], 0x3a98
xor ebx, ebx
push ebx
lea edi, [esp + 0x1c4]
call fcn.00466283
pop ecx
mov esi, 0x1e61
push esi
mov ecx, edi
call fcn.0048e6b5
pop ecx
test eax, eax
jne 0x46b50a
push esi
mov ecx, edi
call fcn.0048e54f
mov dword [esp], 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x24]
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.00438b22
push dword [esp + 0x18]
mov ecx, 0x104
call fcn.00438aa8
pop ecx
mov esi, eax
call fcn.00438922
mov eax, esi
push eax
push 0x40
pop ecx
lea eax, [esp + 0x78]
call fcn.00438aa8
mov dword [esp], 0x2635
push str.Network.c
push str.LockTAMSServerID_sub
lea eax, [esp + 0x74]
push eax
push 0x46b0fc
xor ecx, ecx
call fcn.0048e3a5
push 1
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x74], ebx
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b68c
mov ebx, 0x12c
lea esi, [ebx - 0x32]
cmp dword [esp + 0x10], 0
jne 0x46b5b1
call fcn.0041a877
mov dword [esp + 0x10], eax
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
js 0x46b5e2
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x46b5e2
call fcn.0040237f
cdq
mov ecx, ebx
idiv ecx
add edx, esi
push edx
jmp 0x46b5e4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], 0
jne 0x46b607
push str._n_nWaiting_to_lock_server:_______________rWaiting_to_lock_server:_
call fcn.00468421
pop ecx
call fcn.0041a877
mov dword [esp + 0x14], eax
jmp 0x46b63b
mov eax, dword [esp + 0x1c]
push 0xc
xor edx, edx
pop ecx
div ecx
mov edi, eax
call fcn.0041a877
sub eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x46b63b
cmp dword [esp + 0x18], 0xc
jae 0x46b637
push 0x4ae7fc
call fcn.00468421
inc dword [esp + 0x1c]
pop ecx
add dword [esp + 0x14], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jae 0x46b661
push 1
push dword [esp + 0x28]
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
jne 0x46b5a1
jmp 0x46b68c
cmp dword [esp + 0x24], 4
mov dword [esp + 0x6c], 1
jne 0x46b68c
call fcn.0041a877
sub eax, dword [0x5dd31c]
cmp eax, 0xea60
jb 0x46b68c
call fcn.0041a877
mov dword [0x5dd31c], eax
cmp dword [esp + 0x10], 0
je 0x46b698
call fcn.0041a877
xor edi, edi
inc edi
mov dword [esp + 0x70], edi
call fcn.0041a877
mov esi, dword [esp + 0x28]
and dword [esp + 0x20], 0
mov ebx, eax
test esi, esi
je 0x46b715
cmp dword [esp + 0x10], 0
jne 0x46b6c3
call fcn.0041a877
mov dword [esp + 0x10], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x46b6eb
cmp dword [esp + 0x20], 0x103
jne 0x46b70d
call fcn.0041a877
sub eax, ebx
cmp eax, 0x2710
ja 0x46b6f9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x46b6cb
jmp 0x46b6fe
and dword [esp + 0x20], 0
cmp dword [esp + 0x20], 0x103
jne 0x46b70d
and dword [esp + 0x20], 0
call fcn.0048d33e
xor edi, edi
inc edi
cmp dword [esp + 0x10], 0
je 0x46b721
call fcn.0041a877
cmp dword [esp + 0x14], 0
jbe 0x46b733
push str._r________________________________________r
call fcn.00468421
pop ecx
xor ecx, ecx
cmp dword [esp + 0x20], ecx
jne 0x46b748
xor eax, eax
mov dword [0x5dce0c], ecx
jmp 0x46b327
cmp dword [esp + 0x24], 0xff
jne 0x46b9ad
cmp dword [esp + 0x6c], ecx
jne 0x46b9ad
push 0x38
push ecx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x38], ecx
call fcn.00401f80
mov ebx, dword [esp + 0x28]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x10], 0
jne 0x46b792
call fcn.0041a877
mov dword [esp + 0x10], eax
test esi, esi
jne 0x46b946
cmp dword [esp + 0x2c], esi
jne 0x46b7ce
push esi
push edi
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b7b1
mov esi, edi
jmp 0x46b7b5
mov dword [esp + 0x2c], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x30], 0
jne 0x46b805
push 0
push 2
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b7e8
mov esi, edi
jmp 0x46b7ec
mov dword [esp + 0x30], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x34], 0
jne 0x46b83c
push 0
push 4
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b81f
mov esi, edi
jmp 0x46b823
mov dword [esp + 0x34], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x38], 0
jne 0x46b873
push 0
push 8
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b856
mov esi, edi
jmp 0x46b85a
mov dword [esp + 0x38], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x3c], 0
jne 0x46b8aa
push 0
push 0x10
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b88d
mov esi, edi
jmp 0x46b891
mov dword [esp + 0x3c], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x40], 0
jne 0x46b8dd
push 0
push 0x20
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b8c4
mov esi, edi
jmp 0x46b8c8
mov dword [esp + 0x40], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x44], 0
jne 0x46b910
push 0
push 0x40
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b8f7
mov esi, edi
jmp 0x46b8fb
mov dword [esp + 0x44], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
jne 0x46b946
cmp dword [esp + 0x48], 0
jne 0x46b9ad
push 0
push 0x100
call fcn.00467c71
pop ecx
pop ecx
test eax, eax
je 0x46b931
mov esi, edi
jmp 0x46b935
mov dword [esp + 0x48], edi
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x46b9ad
test esi, esi
je 0x46b9ad
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], 0
jne 0x46b96e
push str._nWaiting_to_lock_server:_______________rWaiting_to_lock_server:_
call fcn.00468421
pop ecx
call fcn.0041a877
mov dword [esp + 0x14], eax
jmp 0x46b99c
call fcn.0041a877
sub eax, dword [esp + 0x14]
cmp eax, 0x3e8
jbe 0x46b99c
cmp dword [esp + 0x18], 0xc
jae 0x46b994
push 0x4ae7fc
call fcn.00468421
inc dword [esp + 0x1c]
pop ecx
add dword [esp + 0x14], 0x3e8
call fcn.0041a877
sub eax, dword [esp + 0x10]
cmp eax, ebx
jb 0x46b782
mov eax, edi
xor ecx, ecx
jmp 0x46b73d