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

Disassembly:
sub esp, 0x4ac
push ebx
push ebp
mov ebp, dword [eax + 0x1c]
mov bl, byte [ebp + 2]
push esi
push edi
mov edi, dword [esp + 0x4c4]
lea ecx, [edi + 4]
movzx esi, bl
mov ebx, dword [esp + 0x4c0]
mov dword [esp + 0x58], ecx
mov cl, byte [ebp + 5]
sub cl, byte [ebp + 4]
lea eax, [edi + 0x430]
mov dword [esp + 0x7c], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x8c], ebp
mov edx, 1
mov dword [esp + 0x78], esi
jle 0x410c2c
sub ebx, edi
lea esi, [edi + 0x20]
mov dword [esp + 0x50], ebx
jmp 0x410c00
mov ebx, dword [esp + 0x50]
lea ecx, [ecx]
mov edi, dword [ebx + esi]
mov ebx, dword [esi]
cmp edi, ebx
jg 0x410c0b
mov edi, ebx
mov dword [esp + eax*4 + 0x90], edi
add eax, 1
add esi, 4
cmp eax, dword [esp + 0x78]
jl 0x410bf9
mov ebx, dword [esp + 0x4c0]
mov edi, dword [esp + 0x4c4]
movzx esi, cl
xor eax, eax
test esi, esi
jle 0x410c5a
cmp byte [ebx + eax + 0x3c], 0
jne 0x410c47
cmp byte [eax + edi + 0x3c], 0
jne 0x410c47
xor ecx, ecx
jmp 0x410c4c
mov ecx, 1
mov byte [esp + eax + 0xcc], cl
add eax, 1
cmp eax, esi
jl 0x410c35
mov edi, dword [esp + 0x58]
mov al, byte [edi + 2]
lea esi, [ebx + 4]
lea ecx, [esi + 2]
mov dword [esp + 0x6c], ecx
mov cl, byte [ecx]
cmp cl, al
jbe 0x410c73
mov al, cl
movzx ecx, byte [edi + 1]
mov dword [esp + 0x50], ecx
mov cl, byte [ecx + edi + 2]
movzx edi, byte [esi + 1]
mov bl, byte [edi + esi + 2]
cmp bl, cl
mov byte [esp + 0x5c], al
mov dword [esp + 0x68], edi
jbe 0x410c98
movzx ecx, bl
jmp 0x410c9b
movzx ecx, cl
mov byte [esp + 0x5d], cl
mov ecx, dword [esp + 0x6c]
xor esi, esi
cmp byte [ecx], al
ja 0x410cb8
lea esp, [esp]
add esi, 1
cmp byte [ecx + esi], al
jbe 0x410cb0
mov ebx, dword [esp + 0x58]
xor edi, edi
cmp byte [ebx + 2], al
ja 0x410ccc
add edi, 1
cmp byte [ebx + edi + 2], al
jbe 0x410cc3
cmp esi, dword [esp + 0x68]
jg 0x410d15
cmp edi, dword [esp + 0x50]
jg 0x410d15
movzx ecx, byte [esp + edx + 0x5c]
mov al, byte [ebx + edi + 2]
mov byte [esp + edx + 0x5d], cl
mov ecx, dword [esp + 0x6c]
mov cl, byte [ecx + esi]
cmp cl, al
jae 0x410cf9
mov byte [esp + edx + 0x5c], cl
add esi, 1
jmp 0x410d00
mov byte [esp + edx + 0x5c], al
add edi, 1
mov eax, dword [esp + 0x4c0]
add eax, 4
movzx eax, byte [eax + 1]
add edx, 1
cmp esi, eax
jle 0x410cd2
xor esi, esi
lea eax, [edx - 1]
test eax, eax
mov dword [esp + 0x24], esi
jle 0x410d8e
movzx ecx, byte [esp + esi + 0x5d]
movzx ebx, byte [esp + esi + 0x5c]
lea edi, [esp + esi + 0x5d]
sub ecx, ebx
cmp ecx, 2
jge 0x410d80
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, esi
sub eax, 1
cmp esi, dword [esp + 0x1c]
jge 0x410d80
sub dword [esp + 0x1c], 1
mov ecx, eax
mov ebx, ecx
shr ecx, 2
lea esi, [esp + esi + 0x5e]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
movzx ecx, byte [esp + esi + 0x5d]
movzx ebx, byte [esp + esi + 0x5c]
lea edi, [esp + esi + 0x5d]
sub ecx, ebx
sub edx, 1
sub eax, 1
cmp ecx, 2
jl 0x410d42
add esi, 1
lea eax, [edx - 1]
cmp esi, eax
mov dword [esp + 0x24], esi
jl 0x410d22
mov al, byte [esp + edx + 0x5c]
movzx ecx, byte [esp + edx + 0x5b]
movzx esi, al
sub esi, ecx
cmp esi, 2
jge 0x410da8
mov byte [esp + edx + 0x5b], al
sub edx, 1
cmp edx, 5
jle 0x410dfb
lea ebx, [esp + 0x5c]
sub ebx, 1
test edx, edx
mov eax, edx
jle 0x410dd7
lea ebx, [ebx]
movzx ecx, byte [ebx + eax]
movzx esi, byte [esp + eax + 0x5c]
sub esi, ecx
cmp esi, 4
jl 0x410dd7
sub eax, 1
test eax, eax
jg 0x410dc0
mov ecx, edx
sub ecx, eax
add ecx, 1
lea esi, [esp + eax + 0x5c]
lea edi, [ebx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
sub edx, 1
cmp edx, 5
rep movsb byte es:[edi], byte [esi]
jg 0x410db4
test edx, edx
mov bl, dl
mov byte [esp + 0x29], bl
jl 0x410e22
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x5c]
lea edi, [esp + 0x2a]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov bl, byte [esp + 0x29]
mov esi, dword [esp + 0x4c0]
mov cl, byte [esi + 0x11]
mov edi, dword [esp + 0x58]
mov al, byte [edi + 0xd]
add esi, 4
cmp cl, 0xff
je 0x410e47
cmp al, 0xff
mov byte [esp + 0x35], cl
je 0x410e4b
cmp cl, al
jl 0x410e4b
mov byte [esp + 0x35], al
mov cl, byte [esi + 0xe]
mov al, byte [edi + 0xe]
cmp cl, al
mov byte [esp + 0x4f], al
mov byte [esp + 0x4e], cl
mov byte [esp + 0x36], cl
ja 0x410e65
mov byte [esp + 0x36], al
cmp byte [esp + 0x36], 1
jbe 0x410ec7
cmp al, cl
jbe 0x410e8e
movzx ecx, byte [esp + 0x2a]
mov dl, byte [edi + 0x10]
movzx eax, bl
mov byte [esp + 0x37], cl
mov byte [esp + 0x38], dl
movzx ecx, byte [esp + eax + 0x2a]
mov byte [esp + 0x39], cl
jmp 0x410edb
movzx edx, byte [esp + 0x2a]
mov byte [esp + 0x37], dl
mov dl, byte [esi + 0x10]
jae 0x410ead
movzx eax, bl
mov byte [esp + 0x38], dl
mov cl, byte [esp + eax + 0x2a]
mov byte [esp + 0x39], cl
jmp 0x410edb
mov al, byte [edi + 0x10]
cmp dl, al
jb 0x410eb6
mov dl, al
movzx eax, bl
mov byte [esp + 0x38], dl
mov cl, byte [esp + eax + 0x2a]
mov byte [esp + 0x39], cl
jmp 0x410edb
movzx edx, byte [esp + 0x2a]
movzx eax, bl
mov byte [esp + 0x37], dl
mov dl, byte [esp + eax + 0x2a]
mov byte [esp + 0x38], dl
cmp byte [esp + 0x36], 1
jbe 0x410f05
mov ecx, 1
cmp eax, ecx
jle 0x410efd
jmp 0x410ef0
cmp byte [esp + ecx + 0x2a], dl
jae 0x410efd
add ecx, 1
cmp ecx, eax
jl 0x410ef0
mov cl, byte [esp + ecx + 0x2a]
mov byte [esp + 0x38], cl
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], ecx
jle 0x411272
mov ecx, dword [esp + 0x4c0]
mov edx, dword [esp + 0x58]
add ecx, 4
lea esi, [ecx + 8]
mov edi, 0xfffffff8
sub edi, ecx
mov ecx, 0xfffffff8
lea eax, [edx + 8]
sub ecx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ecx
jmp 0x410f70
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
jmp 0x410f70
mov ecx, dword [esp + 0x24]
lea ecx, [esp + ecx + 0x2b]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov cl, byte [ecx]
cmp cl, byte [esi - 5]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
jbe 0x410fac
mov edx, dword [esp + 0x68]
add edi, esi
add edx, 0xffffffff
cmp edi, edx
jge 0x410fac
movzx edx, byte [esi]
movzx edx, byte [edx + ebp]
add dword [esp + 0x40], edx
add esi, 1
mov dword [esp + 0x54], esi
cmp cl, byte [eax - 5]
jbe 0x410fd7
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x50]
add ecx, eax
add edx, 0xffffffff
cmp ecx, edx
jge 0x410fd7
movzx ecx, byte [eax]
movzx edx, byte [ecx + ebp]
add dword [esp + 0x44], edx
add eax, 1
mov dword [esp + 0x48], eax
mov cl, byte [esi]
test cl, cl
mov al, byte [eax]
mov byte [esp + 0x13], cl
mov byte [esp + 0x4d], al
jne 0x410feb
test al, al
je 0x410fed
mov cl, 1
mov eax, dword [esp + 0x20]
mov byte [eax + 5], cl
movzx ecx, cl
movzx edx, byte [ecx + ebp]
xor eax, eax
cmp edx, 4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
jl 0x41118e
movzx eax, byte [esp + 0x13]
mov esi, dword [ebp + eax*4 + 0x18]
movzx eax, byte [esp + 0x4d]
mov eax, dword [ebp + eax*4 + 0x18]
mov ecx, dword [ebp + ecx*4 + 0x18]
mov ebp, dword [esp + 0x4c0]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c4]
add edx, 0xfffffffc
add ebp, 0x70
shr edx, 2
lea ebp, [ebp + edi*4]
mov edi, dword [esp + 0x44]
add edx, 1
lea edi, [ebx + edi*4 + 0x70]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
add edx, edx
add esi, 1
add eax, 1
add ecx, 2
lea ebx, [esp + ebx*4 + 0x100]
add edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x80], edx
mov dl, byte [ecx - 1]
cmp dl, byte [esi]
mov bl, byte [eax]
mov byte [esp + 0x13], bl
jbe 0x41108d
add dword [esp + 0x18], 1
add ebp, 4
add esi, 1
cmp dl, byte [esp + 0x13]
jbe 0x41109e
add dword [esp + 0x14], 1
add edi, 4
add eax, 1
fld dword [edi]
mov edx, dword [esp + 0x1c]
fadd dword [ebp]
mov bl, byte [eax]
mov byte [esp + 0x13], bl
fdiv dword [0x42e7f8]
fstp dword [edx - 4]
mov dl, byte [ecx]
cmp dl, byte [esi]
jbe 0x4110c7
add dword [esp + 0x18], 1
add ebp, 4
add esi, 1
cmp dl, byte [esp + 0x13]
jbe 0x4110d8
add dword [esp + 0x14], 1
add edi, 4
add eax, 1
fld dword [edi]
mov edx, dword [esp + 0x1c]
fadd dword [ebp]
mov bl, byte [eax]
mov byte [esp + 0x13], bl
fdiv dword [0x42e7f8]
fstp dword [edx]
mov dl, byte [ecx + 1]
cmp dl, byte [esi]
jbe 0x411101
add dword [esp + 0x18], 1
add ebp, 4
add esi, 1
cmp dl, byte [esp + 0x13]
jbe 0x411112
add dword [esp + 0x14], 1
add edi, 4
add eax, 1
fld dword [edi]
mov edx, dword [esp + 0x1c]
fadd dword [ebp]
mov bl, byte [eax]
mov byte [esp + 0x13], bl
fdiv dword [0x42e7f8]
fstp dword [edx + 4]
mov dl, byte [ecx + 2]
cmp dl, byte [esi]
jbe 0x41113c
add dword [esp + 0x18], 1
add ebp, 4
add esi, 1
cmp dl, byte [esp + 0x13]
jbe 0x41114d
add dword [esp + 0x14], 1
add edi, 4
add eax, 1
fld dword [edi]
mov edx, dword [esp + 0x1c]
fadd dword [ebp]
add edx, 0x10
add ecx, 4
sub dword [esp + 0x20], 1
fdiv dword [0x42e7f8]
mov dword [esp + 0x1c], edx
fstp dword [edx - 8]
jne 0x411075
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
cmp eax, edx
jge 0x411256
mov esi, dword [esp + 0x54]
movzx esi, byte [esi]
mov esi, dword [ebp + esi*4 + 0x18]
mov ecx, dword [ebp + ecx*4 + 0x18]
mov edi, dword [esp + 0x14]
lea esi, [esi + ebx + 1]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x48]
movzx esi, byte [esi]
mov esi, dword [ebp + esi*4 + 0x18]
lea esi, [esi + edi + 1]
mov dword [esp + 0x18], esi
lea esi, [ecx + eax + 1]
mov ecx, dword [esp + 0x3c]
lea edi, [eax + ecx]
mov ecx, dword [esp + 0x40]
add ebx, ecx
mov ecx, dword [esp + 0x4c0]
add ecx, 0x70
lea ecx, [ecx + ebx*4]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x4c4]
lea ecx, [ebx + ecx*4 + 0x70]
mov dword [esp + 0x14], ecx
mov ecx, edx
lea edi, [esp + edi*4 + 0xfc]
sub ecx, eax
lea ebx, [ebx]
mov al, byte [esi]
mov ebx, dword [esp + 0x1c]
cmp al, byte [ebx]
jbe 0x411224
add dword [esp + 0x20], 4
add dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x18]
cmp al, byte [ebx]
jbe 0x411236
add dword [esp + 0x14], 4
add dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
fld dword [eax]
mov eax, dword [esp + 0x20]
fadd dword [eax]
add edi, 4
add esi, 1
sub ecx, 1
fdiv dword [0x42e7f8]
fstp dword [edi - 4]
jne 0x411210
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x29]
add dword [esp + 0x3c], edx
add eax, 1
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x410f59
movzx ecx, byte [esp + 0x36]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c0]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], ecx
jle 0x411413
mov ebp, dword [esp + 0x78]
lea eax, [ebx + 0x430]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ecx
lea ecx, [ecx]
mov edx, dword [esp + 0x24]
mov cl, byte [esp + edx + 0x37]
mov eax, dword [esp + 0x50]
cmp cl, byte [ebx + eax + 0x13]
jbe 0x411304
movzx edx, byte [esp + 0x4e]
sub edx, 1
cmp eax, edx
jge 0x411304
add dword [esp + 0x40], ebp
add eax, 1
mov dword [esp + 0x50], eax
lea eax, [ebp*4]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
cmp cl, byte [edx + eax + 0xf]
jbe 0x411334
movzx ecx, byte [esp + 0x4f]
sub ecx, 1
cmp eax, ecx
jge 0x411334
add dword [esp + 0x44], ebp
add eax, 1
mov dword [esp + 0x68], eax
lea eax, [ebp*4]
add dword [esp + 0x20], eax
xor edi, edi
cmp ebp, 4
jl 0x4113a0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
lea esi, [ebp - 4]
shr esi, 2
add esi, 1
lea edi, [esi*4]
fld dword [ecx]
add eax, 0x10
fadd dword [eax - 0x10]
add ecx, 0x10
add edx, 0x10
sub esi, 1
fdiv dword [0x42e7f8]
fstp dword [edx - 0x14]
fld dword [eax - 0xc]
fadd dword [ecx - 0xc]
fdiv dword [0x42e7f8]
fstp dword [edx - 0x10]
fld dword [eax - 8]
fadd dword [ecx - 8]
fdiv dword [0x42e7f8]
fstp dword [edx - 0xc]
fld dword [eax - 4]
fadd dword [ecx - 4]
fdiv dword [0x42e7f8]
fstp dword [edx - 8]
jne 0x411357
cmp edi, ebp
jge 0x4113ef
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
lea ecx, [edi + eax]
mov eax, dword [esp + 0x40]
lea esi, [edi + edx]
mov edx, dword [esp + 0x7c]
lea edx, [edx + ecx*4]
add eax, edi
lea ecx, [ebx + 0x430]
lea ecx, [ecx + eax*4]
mov eax, ebp
lea esi, [esp + esi*4 + 0xa4]
sub eax, edi
fld dword [edx]
add ecx, 4
fadd dword [ecx - 4]
add edx, 4
add esi, 4
sub eax, 1
fdiv dword [0x42e7f8]
fstp dword [esi - 4]
jne 0x4113d3
add dword [esp + 0x3c], ebp
lea eax, [ebp*4]
add dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
jl 0x4112d0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
lea eax, [ebx + 4]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], esi
movzx esi, word [esp + 0x38]
mov word [edx + 0x10], si
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x2a]
mov dword [edx], esi
movzx esi, word [esp + 0x2e]
mov word [edx + 4], si
lea edx, [eax + 8]
mov dword [edx], ecx
movzx ecx, byte [esp + 0x34]
mov byte [edx + 4], cl
mov dx, word [esp + 0x37]
movzx ecx, byte [esp + 0x39]
add eax, 0xf
mov word [eax], dx
mov byte [eax + 2], cl
mov eax, dword [esp + 0x90]
lea edi, [ebx + 0x70]
mov ecx, 0xf0
lea esi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x430]
mov ecx, 0xa
lea esi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x3c]
lea edx, [ebx + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov ecx, 0xc
lea esi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x94]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xa0]
pop edi
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x70]
pop esi
pop ebp
mov dword [ebx], ecx
mov dword [edx + 0x10], eax
pop ebx
add esp, 0x4ac
ret