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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012f3c0
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x618], eax
push ebx
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esp + 0x6c]
mov dword [esp + 0x18], esi
call fcn.10062500
mov dword [esp + 0x638], 0
call fcn.10047090
xor edi, edi
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], edi
mov byte [esp + 0x638], 1
cmp dword [esp + 0x70], edi
je 0x100457e3
cmp byte [esp + 0x188], 0
lea eax, [esp + 0x78]
jne 0x1004539e
mov eax, dword [esp + 0x74]
lea ecx, [eax + 4]
lea eax, [esp + 0x24]
push eax
call fcn.100b7840
test al, al
je 0x100457df
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x100457a5
mov ecx, ebx
call fcn.100c3c40
cmp eax, 6
jne 0x100457a5
mov ecx, ebx
call fcn.100c4700
xor edi, edi
cmp dword [esi + 0x354], edi
mov dword [esp + 0x30], eax
jle 0x10045414
mov ecx, dword [esi + 0x350]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x10045401
mov eax, ebx
call fcn.100128f0
push ebx
call fcn.100cf5f9
add esp, 4
mov edx, dword [esp + 0x18]
inc edi
cmp edi, dword [edx + 0x354]
mov esi, edx
jl 0x100453e4
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x350]
add esi, 0x350
xor edi, edi
mov dword [esp + 0x38], esi
cmp eax, edi
je 0x1004543e
mov ecx, dword [esi + 0x18]
cmp ecx, edi
jne 0x10045436
mov ecx, fcn.100cf89b
push eax
call ecx
add esp, 4
mov dword [esi], edi
cmp dword [esp + 0x30], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esp + 0x1c], 0x118
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], edi
jle 0x10045754
nop
cmp dword [esp + 0x1c], 0
jle 0x10045740
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.100c4980
lea edi, [esp + 0x194]
mov ebx, eax
call fcn.10062500
lea edi, [esp + 0x2bc]
call fcn.10062500
push 0x3a8
push str.picName
mov ecx, ebx
mov byte [esp + 0x640], 3
call fcn.100c4aa0
lea edx, [esp + 0x198]
mov ecx, eax
call fcn.100b7e90
add esp, 4
test al, al
je 0x100454e0
push 0x3a8
push str.picKeyWord
mov ecx, ebx
call fcn.100c4aa0
mov edx, edi
mov ecx, eax
call fcn.100b7e90
add esp, 4
test al, al
jne 0x100454ea
mov edi, vtable.t_str.0
jmp 0x100456c9
lea edi, [esp + 0x3e4]
call fcn.10062500
mov byte [esp + 0x638], 4
call fcn.10046fd0
cmp byte [esp + 0x500], 0
lea eax, [esp + 0x3f0]
jne 0x1004551b
mov eax, dword [esp + 0x3ec]
lea ebx, [eax + 4]
lea edi, [esp + 0x50c]
call fcn.1004b160
mov byte [esp + 0x638], 5
cmp byte [esp + 0x2b0], 0
lea eax, [esp + 0x1a0]
jne 0x1004554a
mov eax, dword [esp + 0x19c]
lea ebx, [eax + 4]
lea eax, [esp + 0x50c]
push eax
call fcn.1004a120
cmp byte [esp + 0x61e], 0
lea eax, [esp + 0x510]
jne 0x10045572
mov eax, dword [esp + 0x618]
lea ecx, [esp + 0x3c]
push ecx
add eax, 4
push eax
call fcn.100d2590
add esp, 8
test eax, eax
jne 0x1004566e
test dword [esp + 0x42], 0x4000
jne 0x1004566e
push 0x4cc
call fcn.100cfcae
mov edx, eax
add esp, 4
test edx, edx
je 0x100455fa
cmp byte [esp + 0x3d8], 0
lea ecx, [esp + 0x2c8]
jne 0x100455c4
mov ecx, dword [esp + 0x2c4]
cmp byte [esp + 0x2b0], 0
lea eax, [esp + 0x1a0]
jne 0x100455dc
mov eax, dword [esp + 0x19c]
add eax, 4
push 0x1013c8bc
push eax
add ecx, 4
mov eax, 0xf423f
mov esi, edx
call fcn.100127b0
mov esi, dword [esp + 0x38]
jmp 0x100455fc
xor eax, eax
push 0x170
mov dword [esp + 0x38], eax
call fcn.100cfcae
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov byte [esp + 0x638], 6
test edi, edi
je 0x1004563b
push edi
call fcn.100876a0
mov dword [edi], vtable.t_PicFacePreview.0
mov byte [edi + 0x16d], 1
mov byte [edi + 0x16c], 0
jmp 0x1004563d
xor edi, edi
lea edx, [esp + 0x34]
mov byte [esp + 0x638], 5
push edx
mov eax, esi
mov dword [esp + 0x30], edi
call fcn.10023830
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x334
call fcn.10023830
dec dword [esp + 0x1c]
jmp 0x10045673
mov byte [esp + 0x17], 1
cmp byte [esp + 0x61e], 0
jne 0x10045698
mov eax, dword [esp + 0x618]
lea ecx, [esp + 0x510]
cmp eax, ecx
je 0x10045698
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x500], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x3e4], edi
jne 0x100456c9
mov eax, dword [esp + 0x3ec]
lea edx, [esp + 0x3f0]
cmp eax, edx
je 0x100456c9
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x3d8], 0
mov dword [esp + 0x2bc], edi
jne 0x100456f5
mov eax, dword [esp + 0x2c4]
lea ecx, [esp + 0x2c8]
cmp eax, ecx
je 0x100456f5
push eax
call fcn.100cf89b
add esp, 4
mov byte [esp + 0x638], 1
cmp byte [esp + 0x2b0], 0
mov dword [esp + 0x194], edi
jne 0x10045729
mov eax, dword [esp + 0x19c]
lea edx, [esp + 0x1a0]
cmp eax, edx
je 0x10045729
push eax
call fcn.100cf89b
add esp, 4
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jl 0x10045460
cmp byte [esp + 0x17], 0
je 0x10045754
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x6c]
call fcn.10045040
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov byte [eax + 0x3dc], 0
mov byte [esp + 0x638], 0
call fcn.100c3a10
push ebx
call fcn.100cf5f9
add esp, 4
cmp byte [esp + 0x188], 0
mov dword [esp + 0x6c], vtable.t_str.0
jne 0x1004579e
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x1004579e
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
jmp 0x10045828
mov byte [esp + 0x638], 0
test ebx, ebx
je 0x100457c1
mov ecx, ebx
call fcn.100c3a10
push ebx
call fcn.100cf5f9
add esp, 4
cmp byte [esp + 0x188], 0
mov dword [esp + 0x6c], vtable.t_str.0
jne 0x10045826
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
jmp 0x1004581b
mov edi, dword [esp + 0x28]
mov byte [esp + 0x638], 0
test edi, edi
je 0x100457ff
mov ecx, edi
call fcn.100c3a10
push edi
call fcn.100cf5f9
add esp, 4
cmp byte [esp + 0x188], 0
mov dword [esp + 0x6c], vtable.t_str.0
jne 0x10045826
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x10045826
push eax
call fcn.100cf89b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.100cf604
mov esp, ebp
pop ebp
ret