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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x71fc51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], edi
call fcn.005b3190
xor ebx, ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x104], 1
mov dword [esp + 0x54], 2
call fcn.005b3190
lea ecx, [esp + 0x58]
mov byte [esp + 0x104], 2
call fcn.005b3190
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x54]
push 1
push 0xffffffffffffffff
push eax
mov ecx, edi
mov byte [esp + 0x110], 4
call fcn.004d68a0
mov ecx, dword [0x7a39fc]
mov esi, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov eax, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, eax
call fcn.005d5170
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.005610b0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 5
call fcn.005e5c50
lea ecx, [esp + 0x44]
mov byte [esp + 0x104], 4
call fcn.005e5c20
push str.SERVERVAULT:
lea ecx, [esp + 0x48]
call fcn.005e5a90
push ebx
push 1
push 0xffff
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [0x7a39e0]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x118], 6
call fcn.005e6640
lea ecx, [esp + 0x44]
mov byte [esp + 0x104], 4
call fcn.005e5c20
sub esp, 8
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.005e5b00
lea ecx, [esp + 0x38]
call fcn.004b2640
cmp eax, ebx
je 0x5768bc
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5764d6
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.005e5c20
push ecx
push 8
push eax
call fcn.006fa852
push esi
call fcn.006fa390
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x34], ebx
call fcn.005e5670
push eax
lea edx, [esp + 0x5c]
push str.SERVERVAULT:_s
push edx
call fcn.005e5680
add esp, 0xc
push ebx
push ebx
push 0x7df
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x7a39e0]
call fcn.005e6640
cmp dword [esp + 0x34], ebx
je 0x5768bc
mov ecx, dword [0x7a39e8]
lea edx, [esp + 0x58]
push edx
call fcn.00408800
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
jle 0x5768ac
mov edi, edi
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax*8]
push edx
lea ecx, [esp + 0x2c]
call fcn.005e5c50
lea ecx, [esp + 0x28]
call fcn.005e5790
sub eax, 4
push eax
push ebx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x34]
call fcn.005e6270
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 7
call fcn.005e5c50
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 4
call fcn.005e5c20
push 0xa0
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebx
mov byte [esp + 0x104], 8
je 0x5765dd
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xac]
call fcn.00406d60
lea edx, [esp + 0xa8]
push edx
push str.BIC
push 0x7df
mov ecx, esi
call fcn.00410630
mov esi, eax
jmp 0x5765df
xor esi, esi
cmp dword [esi + 0x94], ebx
mov byte [esp + 0x104], 4
je 0x57688f
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00411240
push 0x40
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x104], 9
je 0x576624
mov ecx, eax
call fcn.004c6830
mov edi, eax
jmp 0x576626
xor edi, edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 4
call fcn.005e9e10
push eax
lea ecx, [esp + 0x14]
push ecx
push str.FirstName
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, esi
mov byte [esp + 0x118], 0xa
call fcn.00411fd0
push eax
mov ecx, edi
mov byte [esp + 0x108], 0xb
call fcn.005e9e70
lea ecx, [esp + 0x84]
mov byte [esp + 0x104], 0xa
call fcn.005ea000
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 4
call fcn.005ea000
lea ecx, [esp + 0x70]
call fcn.005e9e10
push eax
lea ecx, [esp + 0x14]
push ecx
push str.LastName
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
mov byte [esp + 0x118], 0xc
call fcn.00411fd0
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x108], 0xd
call fcn.005e9e70
lea ecx, [esp + 0x7c]
mov byte [esp + 0x104], 0xc
call fcn.005ea000
lea ecx, [esp + 0x70]
mov byte [esp + 0x104], 4
call fcn.005ea000
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xec]
push edx
lea ecx, [edi + 0x11]
call fcn.004061f0
push 0xffff
lea eax, [esp + 0x14]
push eax
push str.PortraitId
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [edi + 0x10], 0x11
call fcn.00411b40
push 0x73d71c
lea ecx, [esp + 0xbc]
mov word [edi + 0x22], ax
call fcn.00406d80
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x14]
push eax
push str.Portrait
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xd8]
push edx
mov ecx, esi
call fcn.00411e10
push eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [edi + 0x24]
call fcn.00406120
push str.ClassList
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x9c]
push edx
mov ecx, esi
call fcn.004118c0
test eax, eax
je 0x57685f
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call int.00411940
xor ebx, ebx
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ebx
jbe 0x57685f
mov edi, edi
push ebx
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.00411990
test eax, eax
je 0x57684e
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
push str.Class
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.00411c90
push 0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x4c], eax
push str.ClassLevel
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call fcn.00411bb0
mov ecx, dword [edi + 0x38]
lea ebx, [edi + 0x34]
mov byte [esp + 0x48], al
mov eax, dword [ebx + 8]
cmp ecx, eax
jne 0x576833
test eax, eax
je 0x576826
add eax, eax
jmp 0x57682b
mov eax, 0x10
push eax
mov ecx, ebx
call fcn.004c4f50
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x44]
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x48]
mov dword [edx + ecx*8 + 4], eax
inc dword [ebx + 4]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x4c], ebx
jb 0x5767c0
push edi
lea ecx, [esp + 0x20]
call fcn.004c4ed0
test eax, eax
jne 0x576879
push edi
lea ecx, [esp + 0x20]
call fcn.006449d0
jmp 0x576889
mov ecx, edi
call fcn.004c5df0
push edi
call fcn.006fa390
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x576540
mov ecx, dword [0x7a39e8]
lea eax, [esp + 0x58]
push eax
call fcn.004088d0
push str.SERVERVAULT:
lea ecx, [esp + 0x40]
call fcn.005e5a90
push ebx
push ebx
push 0x7df
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [0x7a39e0]
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x118], 0xe
call fcn.005e6640
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 4
call fcn.005e5c20
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x576cd2
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x18], ecx
jle 0x576cd2
lea esp, [esp]
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx*8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.005e5c50
lea ecx, [esp + 0x28]
call fcn.005e5790
sub eax, 4
push eax
push ebx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x34]
call fcn.005e6270
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 0xf
call fcn.005e5c50
lea ecx, [esp + 0x70]
mov byte [esp + 0x104], 4
call fcn.005e5c20
push 0xa0
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebx
mov byte [esp + 0x104], 0x10
je 0x5769bd
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xbc]
call fcn.00406d60
lea ecx, [esp + 0xb8]
push ecx
push str.BIC
push 0x7df
mov ecx, esi
call fcn.00410630
mov esi, eax
jmp 0x5769bf
xor esi, esi
cmp dword [esi + 0x94], ebx
mov byte [esp + 0x104], 4
je 0x576cb5
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00411240
push 0x40
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x104], 0x11
je 0x576a04
mov ecx, eax
call fcn.004c6830
mov edi, eax
jmp 0x576a06
xor edi, edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 4
call fcn.005e9e10
push eax
lea eax, [esp + 0x14]
push eax
push str.FirstName
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
mov byte [esp + 0x118], 0x12
call fcn.00411fd0
push eax
mov ecx, edi
mov byte [esp + 0x108], 0x13
call fcn.005e9e70
lea ecx, [esp + 0x7c]
mov byte [esp + 0x104], 0x12
call fcn.005ea000
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 4
call fcn.005ea000
lea ecx, [esp + 0x68]
call fcn.005e9e10
push eax
lea eax, [esp + 0x14]
push eax
push str.LastName
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x94]
push edx
mov ecx, esi
mov byte [esp + 0x118], 0x14
call fcn.00411fd0
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x108], 0x15
call fcn.005e9e70
lea ecx, [esp + 0x84]
mov byte [esp + 0x104], 0x14
call fcn.005ea000
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 4
call fcn.005ea000
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [edi + 0x11]
call fcn.004061f0
push 0xffff
lea edx, [esp + 0x14]
push edx
push str.PortraitId
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [edi + 0x10], 2
call fcn.00411b40
push 0x73d71c
lea ecx, [esp + 0xac]
mov word [edi + 0x22], ax
call fcn.00406d80
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x14]
push edx
push str.Portrait
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xd8]
push ecx
mov ecx, esi
call fcn.00411e10
push eax
lea edx, [esp + 0xec]
push edx
lea ecx, [edi + 0x24]
call fcn.00406120
push str.ClassList
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.004118c0
test eax, eax
je 0x576c3f
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call int.00411940
xor ebx, ebx
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ebx
jbe 0x576c3f
mov edi, edi
push ebx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.00411990
test eax, eax
je 0x576c2e
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
push str.Class
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call fcn.00411c90
push 0
lea ecx, [esp + 0x14]
push ecx
push str.ClassLevel
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.00411bb0
mov ecx, dword [edi + 0x38]
lea ebx, [edi + 0x34]
mov byte [esp + 0x48], al
mov eax, dword [ebx + 8]
cmp ecx, eax
jne 0x576c13
test eax, eax
je 0x576c06
add eax, eax
jmp 0x576c0b
mov eax, 0x10
push eax
mov ecx, ebx
call fcn.004c4f50
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x44]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + eax*8 + 4], edx
inc dword [ebx + 4]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x4c], ebx
jb 0x576ba0
push edi
lea ecx, [esp + 0x20]
call fcn.004c4ed0
test eax, eax
jne 0x576c9f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xor ebx, ebx
test ecx, ecx
jle 0x576c6f
jmp 0x576c60
cmp dword [edx + eax*4], edi
jne 0x576c66
inc ebx
inc eax
cmp eax, ecx
jl 0x576c60
test ebx, ebx
jne 0x576caf
mov eax, dword [esp + 0x24]
cmp ecx, eax
jne 0x576c96
test eax, eax
je 0x576c7f
add eax, eax
jmp 0x576c84
mov eax, 0x10
push eax
lea ecx, [esp + 0x20]
call fcn.005e03c0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [edx + ecx*4], edi
inc dword [esp + 0x20]
jmp 0x576caf
mov ecx, edi
call fcn.004c5df0
push edi
call fcn.006fa390
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x576920
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
call fcn.004ae6b0
cmp dword [eax + 0x1c8], ebx
je 0x576d06
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
push edx
call fcn.004ae6b0
mov ecx, eax
call fcn.004c8e90
mov eax, dword [esp + 0x20]
push 0x10
push eax
mov ecx, edi
call fcn.004d6300
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
jle 0x576e50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx*4]
push ebx
push esi
mov ecx, edi
call fcn.005785c0
lea eax, [esi + 8]
push ebx
push eax
mov ecx, edi
call fcn.005785c0
push 0x10
lea eax, [esi + 0x11]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, edi
call fcn.004d6380
xor ecx, ecx
mov cl, byte [esi + 0x10]
push 8
push ecx
mov ecx, edi
call fcn.004d62c0
xor edx, edx
mov dx, word [esi + 0x22]
push 0x10
mov ecx, edi
push edx
call fcn.004d6300
push 0x10
lea eax, [esi + 0x24]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, edi
call fcn.004d6380
mov ebx, dword [esi + 0x38]
push 8
push ebx
mov ecx, edi
call fcn.004d62c0
xor edi, edi
test ebx, ebx
jbe 0x576dee
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + edi*8]
mov ecx, dword [esp + 0x14]
push 0x20
push edx
call fcn.004d6340
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov cl, byte [eax + edi*8 + 4]
push 8
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004d62c0
inc edi
cmp edi, ebx
jb 0x576dc2
mov dword [esp + 0x3c], esi
mov eax, dword [esi + 0x34]
push eax
mov byte [esp + 0x108], 0x17
call fcn.006fa390
add esp, 4
lea ecx, [esi + 8]
mov dword [esi + 0x34], 0
mov byte [esp + 0x104], 0x16
call fcn.005ea000
mov ecx, esi
mov byte [esp + 0x104], 4
call fcn.005ea000
push esi
call fcn.006fa390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
add esp, 4
inc eax
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x576d22
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, edi
call fcn.004d6440
test eax, eax
jne 0x576f02
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [esp + 0x108], 3
call fcn.006fa390
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x104], 2
call fcn.005e5c20
lea ecx, [esp + 0x60]
mov byte [esp + 0x104], 1
call fcn.005e5c20
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x104], 0
je 0x576ed1
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.005e5c20
push edx
push 8
push eax
call fcn.006fa852
push esi
call fcn.006fa390
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x104], 0xffffffff
call fcn.005e5c20
xor eax, eax
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push 2
push 0x11
push eax
mov ecx, edi
call fcn.00567e60
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x108], 3
call fcn.006fa390
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x104], 2
call fcn.005e5c20
lea ecx, [esp + 0x60]
mov byte [esp + 0x104], 1
call fcn.005e5c20
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x104], 0
je 0x576f88
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.005e5c20
push ecx
push 8
push eax
call fcn.006fa852
push esi
call fcn.006fa390
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x104], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0xfc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4