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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c04fe
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x57e030]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x98], vtable.AutoLock.0
mov dword [esp + 0x9c], ecx
call edx
mov dword [esp + 0xb8], 0
mov ebx, dword [esi + 0x24]
mov esi, dword [ebx + 0x9c]
add ebx, 0x8c
mov dword [esp + 0x18], ebx
cmp dword [ebx + 0xc], esi
jbe 0x45225e
call fcn.00480e22
mov edi, dword [ebx]
mov ebx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
cmp ebx, dword [ecx + 0x10]
jbe 0x452275
call fcn.00480e22
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push esi
push edi
push ebx
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00405f90
lea ecx, [esp + 0x44]
call fcn.00404990
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xb8], 1
mov edx, dword [ecx + 0x28]
mov edx, dword [edx + 0x18]
add ecx, 0x28
lea eax, [esp + 0x44]
push eax
call edx
mov eax, dword [esp + 0x54]
mov esi, eax
cmp eax, dword [esp + 0x58]
jbe 0x4522bc
call fcn.00480e22
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x452450
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4522d9
call fcn.00480e22
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4522e0
sub eax, edx
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00405860
mov byte [esp + 0xb8], 2
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
sar esi, 1
mov ebx, eax
cmp eax, dword [esp + 0x58]
jbe 0x45231e
call fcn.00480e22
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x452457
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x45233b
call fcn.00480e22
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x34]
jbe 0x45234a
call fcn.00480e22
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x45245e
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x452367
call fcn.00480e22
lea ecx, [esi + esi]
push ecx
push ebx
push edi
call fcn.00483e40
mov eax, 0xa
mov word [esp + 0xae], ax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
add esp, 0xc
mov edx, 0xd
mov word [esp + 0xa0], dx
mov word [esp + 0xa4], cx
mov esi, eax
cmp eax, dword [esp + 0x34]
jbe 0x4523aa
call fcn.00480e22
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x452465
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4523c7
call fcn.00480e22
lea edx, [esp + 0xa0]
push edx
push esi
call fcn.00481b65
mov esi, eax
add esp, 8
test esi, esi
je 0x4524f8
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4523e7
sub eax, edx
sar eax, 1
je 0x4524dc
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481b4f
mov ebx, eax
mov edx, ebx
add esp, 4
mov eax, esi
sub edx, esi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x452420
mov edi, vtable.StringStorage.0
push 4
mov dword [esp + 0x64], edi
call fcn.00480ed5
xor esi, esi
add esp, 4
cmp eax, esi
je 0x45246c
lea ecx, [esp + 0x64]
mov dword [eax], ecx
jmp 0x45246e
mov eax, dword [eax]
jmp 0x4522cf
mov eax, dword [eax]
jmp 0x452331
mov eax, dword [eax]
jmp 0x45235d
mov eax, dword [eax]
jmp 0x4523bd
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0xbc], 4
call fcn.00405d10
lea edx, [esp + 0x60]
mov byte [esp + 0xb8], 5
mov ebx, dword [esp + 0x18]
push edx
call fcn.00418d00
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], edi
cmp eax, esi
je 0x4524c3
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call fcn.00480e32
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
push 0
call fcn.00481b65
mov esi, eax
add esp, 8
test esi, esi
jne 0x4523e2
lea ecx, [esp + 0x7c]
call fcn.00404990
mov ebx, dword [esp + 0x20]
mov byte [esp + 0xb8], 6
mov edx, dword [ebx + 0x34]
mov edx, dword [edx + 0x18]
lea ecx, [ebx + 0x34]
lea eax, [esp + 0x7c]
push eax
call edx
mov eax, dword [esp + 0x8c]
mov esi, eax
cmp eax, dword [esp + 0x90]
jbe 0x452534
call fcn.00480e22
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x45267c
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x452554
call fcn.00480e22
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
push str._d_c
push esi
mov dword [esp + 0x4c], 0
call fcn.00481ca6
mov edi, dword [esp + 0x4c]
add esp, 0x10
cmp eax, 1
je 0x452581
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov dword [ebx + 0xa4], edi
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [esp + 0x8c]
xor esi, esi
mov edi, vtable.StringStorage.0
mov dword [esp + 0x7c], edi
cmp eax, esi
je 0x4525c5
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x80]
push ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
call fcn.00480e32
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, esi
je 0x4525fb
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00480e32
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x44], edi
cmp eax, esi
je 0x452629
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00480e32
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 4
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004807f8
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
jmp 0x45254a