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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x684
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
add eax, 0x39
lea edx, [esp + 0x584]
push edi
mov dword [esp + 0x10], ecx
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412b80
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x80]
lea edx, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412ba5
mov al, byte [esp + 0x80]
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 0x8c]
xor edi, edi
test al, al
lea esi, [esp + 0x80]
je 0x412bed
lea ecx, [ecx]
xor eax, eax
mov al, byte [esi]
push eax
call ebx
test eax, eax
je 0x412be0
add esi, 2
jmp 0x412be8
cmp byte [esi], 0x5c
jne 0x412be7
mov edi, esi
inc esi
cmp byte [esi], 0
jne 0x412bd0
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412bf7
sub eax, edx
lea ecx, [esp + eax + 0x7f]
cmp edi, ecx
je 0x412c23
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412c12
sub eax, edx
mov byte [esp + eax + 0x80], 0x5c
lea eax, [esp + 0x588]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412c30
lea edi, [esp + 0x80]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412c41
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [esp + 0x14], edx
mov ecx, eax
mov dword [esp + 0x18], edx
and ecx, 3
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
call dword [ecx + 0x58]
mov ecx, 0xa
call fcn.004114d0
add esp, 4
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x188]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x188]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412ca0
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
lea eax, [esp + 0x80]
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412cc0
lea edi, [esp + 0x188]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412cd3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x188]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412cf3
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
lea eax, [esp + 0x188]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412d10
sub eax, edx
mov bl, 0x20
mov byte [esp + eax + 0x188], bl
lea eax, [esp + 0x14]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d28
lea edi, [esp + 0x188]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x412d40
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412d40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x188]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412d60
sub eax, edx
mov byte [esp + eax + 0x188], bl
lea eax, [esp + 0x188]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412d80
mov ebx, dword [ebp + 0x10]
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d98
lea edi, [esp + 0x188]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x412db0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412db0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x188]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412dd0
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
lea eax, [esp + 0x188]
lea edx, [eax + 1]
jmp 0x412df0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412df0
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412e06
lea edi, [esp + 0x188]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412e20
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x188]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412e40
mov esi, dword [esp + 0x10]
sub eax, edx
mov byte [esp + eax + 0x188], 0x22
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x3c]
push ecx
push ebx
push eax
push 0x30
push eax
push eax
push eax
lea edx, [esp + 0x1a8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov word [esp + 0x88], ax
push edx
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x8c], 1
call dword [esi + 0x5c]
test eax, eax
je 0x412ed8
mov ecx, dword [esp + 0x28]
push ecx
call dword [esi + 0x1c]
mov edx, dword [esp + 0x2c]
push edx
call dword [esi + 0x1c]
mov ax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x80]
push eax
call dword [esi + 0x78]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.00412460
add esp, 0xc
pop edi
pop esi
xor ax, ax
pop ebx
mov esp, ebp
pop ebp
ret