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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x42d6e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x54
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x248], ebx
mov dword [ebx], 0x25
jb 0x4116aa
xor edi, edi
cmp esi, edi
je 0x4116aa
push 0x84
lea eax, [ebp - 0x98]
push edi
push eax
call fcn.0041b540
push 0x198
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.0041b540
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x14], edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
add esp, 0x18
test byte [esi + 4], 1
mov dword [ebp - 0x240], eax
je 0x411150
mov ecx, dword [esi + 0xc]
dec ecx
imul ecx, ecx, 0x44
add ecx, 0x54
mov dword [esi + 8], ecx
mov dword [ebx], eax
jmp 0x41128e
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov ecx, dword [ebp - 0x254]
push ebx
lea eax, [ebp - 0x240]
push eax
push edx
mov dword [ebp - 0x25c], ebx
call fcn.00404126
lea eax, [ebx - 1]
imul eax, eax, 0x44
add eax, 0x54
cmp dword [ebp + 8], eax
jne 0x41169c
cmp dword [esi + 8], eax
jne 0x41169c
cmp ebx, 2
ja 0x411299
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x84], eax
mov ax, word [esi + 0x2c]
mov word [ebp - 0x78], ax
mov eax, 0x100
or ecx, eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x74], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x70], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x64], ecx
cmp ebx, 2
jne 0x411271
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 0x64]
mov dword [ebp - 0x44], ecx
mov cx, word [esi + 0x70]
mov word [ebp - 0x38], cx
mov ecx, dword [esi + 0x8c]
or ecx, eax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x90]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
push dword [ebp - 0x248]
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x98]
push eax
push 0x84
call fcn.00410c8d
mov dword [ebp - 0x238], eax
jmp 0x411694
mov edi, dword [0x4271f4]
lea eax, [ebp - 0x244]
push eax
push 0x428284
push 0x15
push 0
push 0x428354
call edi
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push 0x4282b4
push 0x15
push 0
push 0x428384
call edi
cmp dword [ebp - 0x238], 0
jl 0x411694
cmp dword [ebp - 0x244], 0
je 0x411694
mov edi, 0x2e494
push edi
call fcn.0041b615
pop ecx
mov dword [ebp - 0x250], eax
test eax, eax
je 0x411651
push edi
push 0
push eax
call fcn.0041b540
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
add esp, 0xc
push dword [ebp - 0x250]
push edi
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x238], eax
test eax, eax
js 0x4114c7
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x18]
and dword [ebp - 0x234], 0
mov dword [ebp - 0x258], ecx
test ecx, ecx
je 0x4114c7
lea ecx, [eax + 0x20]
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x240]
cmp eax, dword [ecx - 4]
jne 0x4114a0
xor edx, edx
test ebx, ebx
je 0x411388
lea eax, [esi + 0x10]
mov edi, dword [eax]
cmp edi, dword [ecx]
jne 0x4114a0
inc edx
add ecx, 4
add eax, 0x44
cmp edx, ebx
jb 0x411373
and dword [ebp - 0x23c], 0
and dword [ebp - 0x234], 0
test ebx, ebx
je 0x4113fc
lea ebx, [ebp - 0x14]
lea edi, [esi + 0x48]
cmp dword [edi], 0
je 0x4113dc
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
lea edx, [ebp - 0x23c]
push edx
push dword [edi - 0x38]
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x254]
push ebx
push dword [edi]
call fcn.00405724
mov eax, dword [ebx]
cmp eax, 8
je 0x4113dc
test dword [ebp - 0x23c], eax
je 0x4114e2
inc dword [ebp - 0x234]
mov eax, dword [ebp - 0x234]
add edi, 0x44
add ebx, 4
cmp eax, dword [ebp - 0x25c]
jb 0x4113a0
mov ebx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x240]
and dword [ebp - 0x234], 0
mov dword [ebp - 0x220], eax
test ebx, ebx
je 0x411602
lea ecx, [ebp - 0x212]
sub ecx, esi
mov dword [ebp - 0x264], ecx
lea ecx, [ebp - 0x1f8]
sub ecx, esi
mov dword [ebp - 0x260], ecx
lea ecx, [ebp - 0x204]
sub ecx, esi
mov dword [ebp - 0x268], ecx
lea ecx, [ebp - 0x200]
sub ecx, esi
mov dword [ebp - 0x270], ecx
lea ecx, [ebp - 0x1fc]
sub ecx, esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x26c], ecx
lea ebx, [ebp - 0x214]
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x216]
sub eax, esi
sub ecx, esi
lea edi, [ebp - 0x218]
sub ebx, esi
sub edi, esi
lea edx, [esi + 0x1c]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], edi
jmp 0x4114ff
inc dword [ebp - 0x234]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x234]
add ecx, 0x14
mov dword [ebp - 0x23c], ecx
cmp eax, dword [ebp - 0x258]
jb 0x41135b
mov eax, dword [ebp - 0x248]
mov dword [eax], 0x27
mov dword [ebp - 0x238], 0x80070057
jmp 0x411651
mov eax, dword [ebp - 0x248]
mov dword [eax], 0x2a
jmp 0x411651
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x23c]
mov esi, dword [edx - 0xc]
mov edi, dword [ebp - 0x240]
mov dword [edi], esi
movzx esi, word [edx - 8]
mov edi, dword [ebp - 0x238]
mov word [edi + edx], si
movzx edi, word [edx - 4]
mov word [ecx + edx], di
mov cx, word [edx]
mov word [ebx + edx], cx
mov cx, word [edx + 0x10]
mov word [eax + edx], cx
mov ax, word [edx + 4]
mov ecx, dword [ebp - 0x264]
mov word [ecx + edx], ax
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x234]
mov dword [ebp + ecx*4 - 0xfc], eax
cmp dword [ebp - 0x220], 8
je 0x411568
cmp dword [ebp - 0x220], 0x10
je 0x411568
cmp dword [ebp - 0x220], 0x40
jne 0x411598
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x260]
mov dword [ecx + edx], eax
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x268]
mov dword [ecx + edx], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x270]
mov dword [ecx + edx], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x254]
lea eax, [ebp + eax*4 - 0x14]
push eax
push dword [edx + 0x2c]
call fcn.00405724
cmp eax, 1
jne 0x4115e0
mov eax, dword [ebp - 0x234]
lea eax, [ebp + eax*4 - 0x14]
mov eax, dword [eax]
cmp eax, 1
je 0x4115cc
cmp eax, 4
jne 0x4115e0
mov eax, dword [ebp - 0x23c]
mov word [eax + edx], si
mov eax, dword [ebp - 0x238]
mov word [eax + edx], di
inc dword [ebp - 0x234]
mov eax, dword [ebp - 0x234]
add dword [ebp - 0x240], 0x44
add edx, 0x44
cmp eax, dword [ebp - 0x25c]
jb 0x4114f3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x230]
push edx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push 0x198
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x238], eax
test eax, eax
js 0x411651
mov eax, dword [ebp - 0x248]
and dword [eax], 0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x411668
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x41167f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x250], 0
je 0x411694
push dword [ebp - 0x250]
call fcn.0041b5db
pop ecx
mov eax, dword [ebp - 0x238]
jmp 0x4116b5
mov eax, dword [ebp - 0x248]
mov dword [eax], 4
jmp 0x4116b0
mov dword [ebx], 4
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b52c
leave
ret 0xc