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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
push edi
call fcn.0040f970
mov ebx, dword [esp + 0xb4]
cmp eax, 2
jne 0x411d4e
xor ebp, ebp
cmp edx, ebp
jne 0x411d50
lea eax, [ebx + 0xe0]
push eax
mov ecx, esi
call fcn.00410270
mov ecx, dword [esi + 0x38]
call fcn.0040f970
jmp 0x411d50
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
cmp eax, 3
jne 0x411ddf
cmp edx, ebp
jne 0x411ddf
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
mov eax, dword [ebx + 0xf4]
push ecx
mov ecx, dword [ebx + 0xf0]
lea edx, [esp + 0x38]
push edx
lea edi, [ebx + 0x100]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00411870
mov ebp, eax
test ebp, ebp
je 0x411dc4
lea ecx, [esp + 0x28]
call fcn.00410160
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xa0
ret 0x14
mov edx, dword [ebx + 0xf0]
add dword [edi], edx
mov eax, dword [ebx + 0xf4]
adc dword [edi + 4], eax
mov ecx, dword [esi + 0x38]
call fcn.0040f970
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
cmp eax, 4
jne 0x411e4c
cmp edx, ebp
jne 0x411e4c
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x60]
push edx
push ebx
lea edi, [ebx + 0xf8]
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00411670
mov ecx, dword [ebx + 0xf0]
add dword [edi], ecx
mov edx, dword [ebx + 0xf4]
adc dword [edi + 4], edx
mov ecx, dword [esi + 0x38]
call fcn.0040f970
mov dword [ebx + 0x5c], ebp
cmp eax, 5
jne 0x412482
cmp edx, ebp
jne 0x412482
mov ecx, dword [esi + 0x38]
call fcn.0040f9b0
mov ebp, eax
push ebp
lea ecx, [ebx + 0x58]
mov dword [esp + 0x1c], ebp
call fcn.0040fbb0
lea ecx, [ebx + 0x108]
mov dword [ebx + 0x5c], ebp
call fcn.0040fb40
mov ecx, dword [ebx + 0x10c]
mov eax, dword [ebx + 0x108]
mov dword [eax + ecx*8], 9
mov dword [eax + ecx*8 + 4], 0
inc dword [ebx + 0x10c]
lea ecx, [ebx + 0x108]
call fcn.0040fb40
mov ecx, dword [ebx + 0x10c]
mov eax, dword [ebx + 0x108]
mov dword [eax + ecx*8], 6
mov dword [eax + ecx*8 + 4], 0
inc dword [ebx + 0x10c]
test ebp, ebp
je 0x411f09
cmp dword [esp + 0x78], 0
je 0x411f09
lea ecx, [ebx + 0x108]
call fcn.0040fb40
mov ecx, dword [ebx + 0x10c]
mov eax, dword [ebx + 0x108]
mov dword [eax + ecx*8], 0xa
mov dword [eax + ecx*8 + 4], 0
inc dword [ebx + 0x10c]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov edi, ebp
lea eax, [esp + 0x44]
call fcn.004101a0
mov ecx, dword [esi + 0x38]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], eax
call fcn.0040f970
mov dword [esp + 0x20], eax
or eax, edx
mov dword [esp + 0x24], edx
je 0x4122c6
mov ecx, dword [esi + 0x38]
call fcn.0040f970
mov edi, eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
mov ebp, edx
xor edx, edx
mov dword [esp + 0xa8], edi
cmp ebp, edx
ja 0x4124f3
jb 0x411f88
cmp edi, ecx
ja 0x4124f3
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push 1
push edi
push ecx
push esi
lea ecx, [esp + 0x9c]
mov word [esp + 0xa0], dx
call fcn.0040fc20
xor edi, edi
cmp dword [esp + 0x24], edi
ja case.0x411fd2.22
jb 0x411fc2
cmp dword [esp + 0x20], 0x40000000
ja case.0x411fd2.22
mov eax, dword [esp + 0x20]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x411fd2.22
jmp dword [eax*4 + 0x4124f8]
lea edx, [esp + 0x28]
push edx
push esi
lea ecx, [esp + 0x3c]
mov word [esp + 0x40], di
call fcn.0040fc70
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 4]
sub edi, dword [eax + 8]
lea ecx, [ebx + 0xd0]
push edi
call fcn.0040fa20
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esi + 0x38]
push edi
push eax
call fcn.0040f800
mov edx, dword [ebx + 0x5c]
inc edx
lea ecx, [ebx + 0xd8]
push edx
call fcn.0040fac0
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x5c], ecx
jbe 0x41207d
lea ecx, [ecx]
mov ebp, dword [ebx + 0xd0]
mov eax, edi
sub eax, ecx
add ebp, ecx
xor edx, edx
shr eax, 1
je 0x41204f
cmp word [ebp + edx*2], 0
je 0x41204f
inc edx
cmp edx, eax
jb 0x412042
cmp edx, eax
je 0x4124f3
mov eax, dword [esp + 0x10]
mov ebx, dword [ebx + 0xd8]
mov ebp, ecx
shr ebp, 1
mov dword [ebx + eax*4], ebp
mov ebx, dword [esp + 0xb4]
inc eax
lea ecx, [ecx + edx*2 + 2]
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x5c]
jb 0x412030
mov edx, dword [ebx + 0xd8]
mov ebp, dword [esp + 0x10]
mov eax, ecx
shr eax, 1
mov dword [edx + ebp*4], eax
cmp ecx, edi
je 0x412096
mov byte [esi + 0x3c], 1
lea ecx, [esp + 0x34]
call fcn.0040f750
jmp 0x412195
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x94]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
call fcn.00410360
lea edx, [esp + 0x28]
push edx
push esi
lea ecx, [esp + 0x44]
mov word [esp + 0x48], di
call fcn.0040fc70
cmp dword [esp + 0x18], edi
jbe 0x41211f
mov dword [esp + 0x10], edi
lea ebx, [ebx]
mov ebp, dword [ebx + 0x58]
mov eax, dword [esp + 0x94]
add ebp, dword [esp + 0x10]
mov al, byte [eax + edi]
mov byte [ebp + 0x13], al
test al, al
je 0x412113
mov ecx, dword [esi + 0x38]
call fcn.0040f9d0
mov dword [ebp + 8], eax
add dword [esp + 0x10], 0x18
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4120f0
lea ecx, [esp + 0x3c]
call fcn.0040f750
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0041a71a
add esp, 4
jmp 0x412195
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.004102f0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x1c], edi
cmp ecx, edi
jbe 0x412170
lea ecx, [ecx]
cmp byte [edx + eax], 0
je 0x412167
inc edi
inc eax
cmp eax, ecx
jb 0x412160
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x68]
call fcn.004101a0
lea eax, [esp + 0x50]
call fcn.004101a0
jmp 0x412195
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.004102f0
lea ecx, [ebx + 0x108]
call fcn.0040fb40
mov ecx, dword [ebx + 0x10c]
mov eax, dword [ebx + 0x108]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*8 + 4], edx
inc dword [ebx + 0x10c]
jmp 0x412293
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push ecx
jmp 0x41218e
mov edx, dword [esp + 0x18]
push edx
lea eax, [ebx + 0xac]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004103e0
jmp 0x412195
mov edx, dword [esp + 0x18]
push edx
lea eax, [ebx + 0x64]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004103e0
jmp 0x412195
mov edx, dword [esp + 0x18]
push edx
lea eax, [ebx + 0x7c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004103e0
jmp 0x412195
mov edx, dword [esp + 0x18]
push edx
lea eax, [ebx + 0x94]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004103e0
jmp 0x412195
mov dword [esp + 0xa0], edi
test ebp, ebp
jb 0x412293
ja 0x412250
cmp dword [esp + 0xa8], edi
jbe 0x412293
mov ecx, dword [esi + 0x38]
call fcn.0040f7e0
test al, al
je 0x412260
mov byte [esi + 0x3c], 1
add dword [esp + 0xa0], 1
adc edi, 0
cmp edi, ebp
jb 0x412250
ja 0x412293
mov edx, dword [esp + 0xa8]
cmp dword [esp + 0xa0], edx
jb 0x412250
jmp 0x412293
mov byte [ebx + 0x135], 1
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
sub edx, dword [eax + 8]
jne 0x4124f3
lea ecx, [esp + 0x8c]
call fcn.0040f750
mov ecx, dword [esi + 0x38]
call fcn.0040f970
mov dword [esp + 0x20], eax
or eax, edx
mov dword [esp + 0x24], edx
jne 0x411f58
mov ecx, dword [esi + 0x38]
call fcn.0040f970
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cmp eax, dword [esp + 0x60]
je 0x4122e3
call fcn.0040f730
xor edx, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x412305
mov esi, dword [esp + 0x50]
cmp byte [esi + eax], 0
je 0x4122fc
inc edx
inc eax
cmp eax, ecx
jb 0x4122f1
mov dword [esp + 0x1c], edx
xor edi, edi
mov dword [esp + 0x34], edi
cmp dword [esp + 0x18], edi
jbe 0x41245f
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
sub edx, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edx
jmp 0x412330
mov eax, dword [ebx + 0x58]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
cmp byte [ecx + edi], 0
mov dword [eax + 0xc], 0
sete cl
mov byte [eax + 0x10], cl
test cl, cl
je 0x41239d
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0x11], 0
mov ecx, dword [ecx + ebp*8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + ebp*8 + 4]
mov byte [esp + 0x17], 0
mov dword [eax + 4], ecx
cmp ebp, dword [esp + 0x78]
jae 0x412384
mov ecx, dword [esp + 0x74]
cmp byte [ecx + ebp], 0
je 0x412384
mov ecx, 1
jmp 0x412386
xor ecx, ecx
mov byte [eax + 0x12], cl
test cl, cl
je 0x41239a
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + ebp*4]
mov dword [eax + 0xc], ecx
inc ebp
jmp 0x4123c3
cmp byte [edx + esi], 0
sete cl
mov byte [eax + 0x11], cl
mov cl, byte [esi]
inc esi
mov byte [esp + 0x17], cl
mov dword [esp + 0x3c], esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 0x12], 0
cmp dword [esp + 0x1c], 0
je 0x41244b
mov eax, dword [ebx + 0xcc]
cmp dword [ebx + 0xc8], eax
jne 0x41242e
mov edx, eax
shr edx, 2
lea esi, [edx + eax + 1]
push esi
call fcn.0041a79e
mov edi, eax
mov eax, dword [ebx + 0xc8]
add esp, 4
test eax, eax
je 0x41240b
push eax
mov eax, dword [ebx + 0xc4]
push eax
push edi
call fcn.0041ad60
add esp, 0xc
mov ecx, dword [ebx + 0xc4]
push ecx
call fcn.0041a71a
mov dword [ebx + 0xc4], edi
mov edi, dword [esp + 0x38]
mov dword [ebx + 0xcc], esi
mov esi, dword [esp + 0x40]
add esp, 4
mov edx, dword [ebx + 0xc8]
mov eax, dword [ebx + 0xc4]
mov cl, byte [esp + 0x17]
mov byte [edx + eax], cl
inc dword [ebx + 0xc8]
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 0x18
inc edi
mov dword [esp + 0x34], edi
cmp edi, dword [esp + 0x18]
jb 0x412330
mov edx, dword [esp + 0x50]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041a71a
add esp, 0xc
xor ebp, ebp
mov ecx, ebx
call fcn.0040ffe0
mov edx, dword [esp + 0x80]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x78]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041a71a
mov esi, dword [esp + 0x38]
add esp, 0xc
cmp esi, ebp
je 0x4124d7
mov edx, dword [esp + 0x28]
mov edi, dword [edx + esi*4 - 4]
dec esi
cmp edi, ebp
je 0x4124d3
mov eax, dword [edi]
push eax
call fcn.0041a71a
push edi
call fcn.0041a71a
add esp, 8
cmp esi, ebp
jne 0x4124b5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0041a71a
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa0
ret 0x14
call fcn.0040f710
cmp ah, byte [ecx]
inc ecx
add byte [ecx + 0x21c60041], al
inc ecx
add cl, bl
pop ds
inc ecx
add ah, ch
and dword [ecx], eax
add esp, dword [edx]
inc ecx
add byte [0xa4004122], bl
and byte [ecx], al
and dword [edx], 0x41
add byte [ebx - 771735262], al
and dword [ecx], eax
cmp ah, byte [edx]
inc ecx
add ah, cl
int3