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

Disassembly:
push 0xffffffffffffffff
push 0x41b11a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x888
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x376]
mov word [esp + 0x374], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x57c]
mov dword [esp + 0x48], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x57c]
mov dword [esp + 0x57c], 0x114
push eax
call dword [0x41c038]
cmp dword [esp + 0x580], 6
jae 0x413192
lea ecx, [esp + 0x374]
push ecx
push ebp
push ebp
push 0x19
jmp 0x41319d
lea edx, [esp + 0x374]
push edx
push ebp
push ebp
push ebp
push ebp
call dword [fcn.0041c270]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.00419a50
lea ecx, [esp + 0x374]
push ecx
call fcn.00422448
add esp, 4
lea edx, [esp + 0x374]
lea ecx, [esp + 0x64]
push eax
push edx
call fcn.004199a0
lea eax, [esi + 0x4d0]
mov dword [esp + 0x8a0], ebp
mov dword [esp + 0x60], eax
push eax
lea eax, [esp + 0x3c]
push 0x42169c
push eax
call fcn.0041d1c0
push 0x421690
lea ecx, [esp + 0x84]
push eax
push ecx
mov byte [esp + 0x8b8], 1
call fcn.0041d090
add esp, 0x18
mov edx, dword [0x41c598]
lea ecx, [esp + 0x64]
push edx
push ebp
push eax
mov byte [esp + 0x8ac], 2
call fcn.0041ab90
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a4], 1
call fcn.00419a50
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8a4], 0
call fcn.00419a50
mov eax, dword [esp + 0x68]
cmp eax, ebp
jne 0x413264
mov eax, fcn.0041c590
push 0x80
push eax
call dword [0x41c034]
mov eax, dword [esp + 0x68]
cmp eax, ebp
jne 0x41327d
mov eax, fcn.0041c590
push eax
call dword [0x41c030]
push 0x421670
lea eax, [esp + 0x88]
push 0x425d40
push eax
call fcn.0041d090
add esp, 0xc
mov eax, dword [esp + 0x88]
mov byte [esp + 0x8a0], 3
cmp eax, ebp
jne 0x4132b6
mov eax, fcn.0041c590
push eax
push ebp
push 0x421664
push 0x421640
call dword [0x41c02c]
xor edx, edx
cmp eax, ebp
mov dword [esp + 0x5c], eax
jle 0x4134aa
mov bl, byte [esp + 0x13]
mov ebp, dword [fcn.0041c024]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x10a]
mov word [esp + 0x108], 0
rep stosd dword es:[edi], eax
lea esi, [edx + 1]
lea ecx, [esp + 0x108]
push esi
push 0x421618
push ecx
stosw word es:[edi], ax
call fcn.0042285a
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xb2]
mov word [esp + 0xb0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xb0]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x413351
mov eax, fcn.0041c590
push eax
lea edx, [esp + 0xa8]
push 0x32
push edx
push 0x425d24
lea eax, [esp + 0x118]
push 0x42160c
push eax
call ebp
push 0
lea ecx, [esp + 0x78]
mov byte [esp + 0x78], bl
call fcn.00419a50
lea ecx, [esp + 0xa4]
push ecx
call fcn.00422448
add esp, 4
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x74]
push eax
push edx
call fcn.004199a0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8a4], 4
mov byte [esp + 0x3c], al
call fcn.00419a50
lea ecx, [esp + 0x374]
push ecx
call fcn.00422448
add esp, 4
lea edx, [esp + 0x374]
lea ecx, [esp + 0x38]
push eax
push edx
call fcn.004199a0
lea eax, [esp + 0x74]
lea ecx, [esp + 0x4c]
push eax
push 0x42169c
push ecx
mov byte [esp + 0x8ac], 5
call fcn.0041d1c0
push 0x421690
lea edx, [esp + 0xa4]
push eax
push edx
mov byte [esp + 0x8b8], 6
call fcn.0041d090
add esp, 0x18
mov ecx, dword [0x41c598]
mov byte [esp + 0x8a0], 7
push ecx
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.0041ab90
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a4], 6
call fcn.00419a50
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a4], 5
call fcn.00419a50
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x413469
mov eax, fcn.0041c590
push eax
call dword [0x41c030]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8a4], 4
call fcn.00419a50
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a4], 3
call fcn.00419a50
mov eax, dword [esp + 0x5c]
mov edx, esi
cmp edx, eax
jl 0x4132e0
mov esi, dword [esp + 0x48]
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16e]
mov word [esp + 0x16c], bp
rep stosd dword es:[edi], eax
lea edx, [esp + 0x16c]
push edx
push ebp
push ebp
push 0x17
push ebp
stosw word es:[edi], ax
call dword [fcn.0041c270]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00419a50
lea ecx, [esp + 0x16c]
push ecx
call fcn.00422448
add esp, 4
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
push eax
push edx
call fcn.004199a0
add esi, 0x510
lea eax, [esp + 0x4c]
push esi
mov bl, 8
push 0x42169c
push eax
mov byte [esp + 0x8ac], bl
call fcn.0041d1c0
add esp, 0xc
mov ecx, dword [0x41c598]
mov byte [esp + 0x8a0], 9
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0041ab90
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a4], bl
call fcn.00419a50
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x413566
mov eax, fcn.0041c590
push eax
call fcn.0041e500
add esp, 4
lea edx, [esp + 0x16c]
mov ecx, 0x82
xor eax, eax
push ebp
push 2
lea edi, [esp + 0x174]
push edx
push ebp
mov ebp, dword [0x41c274]
rep stosd dword es:[edi], eax
call ebp
lea eax, [esp + 0x16c]
push eax
call fcn.00422448
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call fcn.0041ad60
test al, al
je 0x4135d5
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x16c]
push edi
push ecx
push edx
call fcn.00411dc0
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
call fcn.0041ad40
push esi
lea eax, [esp + 0x50]
push 0x42169c
push eax
call fcn.0041d1c0
add esp, 0xc
mov ecx, dword [0x41c598]
mov byte [esp + 0x8a0], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0041ab90
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a4], bl
call fcn.00419a50
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x413622
mov eax, fcn.0041c590
push eax
call fcn.0041e500
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x696]
mov word [esp + 0x694], 0
add esp, 4
lea edx, [esp + 0x690]
rep stosd dword es:[edi], eax
push 0
push 0x1a
push edx
push 0
stosw word es:[edi], ax
call ebp
lea eax, [esp + 0x690]
push 0x4215b8
push eax
call dword [0x41c028]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00419a50
lea edx, [esp + 0x690]
push edx
call fcn.00422448
add esp, 4
mov esi, eax
lea ecx, [esp + 0x28]
push 1
push esi
call fcn.0041ad60
test al, al
je 0x4136bf
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x690]
push esi
push eax
push ecx
call fcn.00411dc0
add esp, 0xc
lea ecx, [esp + 0x28]
push esi
call fcn.0041ad40
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x94]
push edx
push 0x42169c
push eax
mov byte [esp + 0x8ac], 0xb
call fcn.0041d1c0
push 0x421690
lea ecx, [esp + 0x5c]
mov bl, 0xc
push eax
push ecx
mov byte [esp + 0x8b8], bl
call fcn.0041d090
add esp, 0x18
mov edx, dword [0x41c598]
xor esi, esi
push edx
push esi
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8ac], 0xd
call fcn.0041ab90
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a4], bl
call fcn.00419a50
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a4], 0xb
call fcn.00419a50
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x41374b
mov eax, fcn.0041c590
push eax
call dword [0x41c030]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push 0xf003f
push esi
push 0x42153c
push 0x80000002
call dword [fcn.0041c000]
test eax, eax
jne 0x413785
push 0x42153c
push 0x80000002
call dword [0x41c004]
mov ecx, dword [esp + 0x24]
push ecx
call dword [fcn.0041c008]
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0x4137b6
mov al, byte [ecx - 1]
test al, al
je 0x4137aa
cmp al, 0xff
je 0x4137aa
dec al
mov byte [ecx - 1], al
jmp 0x4137b6
add ecx, 0xfffffffe
push ecx
call fcn.00421ec4
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
cmp ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x4137e8
mov al, byte [ecx - 1]
test al, al
je 0x4137dc
cmp al, 0xff
je 0x4137dc
dec al
mov byte [ecx - 1], al
jmp 0x4137e8
add ecx, 0xfffffffe
push ecx
call fcn.00421ec4
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x41381d
mov al, byte [ecx - 1]
test al, al
je 0x413811
cmp al, 0xff
je 0x413811
dec al
mov byte [ecx - 1], al
jmp 0x41381d
add ecx, 0xfffffffe
push ecx
call fcn.00421ec4
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
pop edi
cmp ecx, esi
pop esi
pop ebp
pop ebx
je 0x41386f
mov al, byte [ecx - 1]
test al, al
je 0x413863
cmp al, 0xff
je 0x413863
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
add esp, 0x894
ret
add ecx, 0xfffffffe
push ecx
call fcn.00421ec4
add esp, 4
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
add esp, 0x894
ret